Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39324

Adding custom video dimensions to a URL resource reverts media icon back to default

XMLWordPrintable

    • MOODLE_24_STABLE, MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-39324-master
    • Hide
      1. Create a course.
      2. Turn editing on.
      3. Add a URL resource.
      4. Click "Save and return to course".
      5. Notice that the icon of the URL resource is correct. It is using the Fl icon.
      6. Edit the URL resource.
      7. Set the External URL to:
        http://techslides.com/demos/sample-videos/small.flv?d=50x75
      8. Click "Save and return to course".

      RESULT:
      The icon for the URL resource should still use the Fl icon and not the "default icon".

      Show
      Create a course. Turn editing on. Add a URL resource. Name: MDL-39324 URL External URL: http://techslides.com/demos/sample-videos/small.flv Click "Save and return to course". Notice that the icon of the URL resource is correct. It is using the Fl icon. Edit the URL resource. Set the External URL to: http://techslides.com/demos/sample-videos/small.flv?d=50x75 Click "Save and return to course". RESULT: The icon for the URL resource should still use the Fl icon and not the "default icon".

      After adding custom video dimensions (?d="width"x"height") the media icon gets replaced with the default one .

      IMHO the addition of URL parameters shouldn't have an influence on the icon.

      I've also opened a thread here:
      https://moodle.org/mod/forum/discuss.php?d=227200

            jebarvia Joshua Ebarvia
            philpav Philipp Pavelka
            Simey Lameze Simey Lameze
            Jun Pataleta Jun Pataleta
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 3 minutes
                3h 3m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.