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

Media default width/height settings: time to use 16:9?

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Media
    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull Master Branch:
      MDL-70905-master
    • Testing Instructions:
      Hide

      1. On a newly installed Moodle, create CourseA.
      2. In CourseA create page module, in the page content add any YouTube link.
      3. Save and Display page, observe the link was rendered to media player
      4. Check that media player window size is 640 x 360.

      Show
      1. On a newly installed Moodle, create CourseA. 2. In CourseA create page module, in the page content add any YouTube link. 3. Save and Display page, observe the link was rendered to media player 4. Check that media player window size is 640 x 360.

      Description

      16:9 aspect ratio has become common in the latest decade, I think it is a time to review default values of media_default_width and media_default_height, to reflect current standards (and also make it fit to what become common screen resolutions these days).

      This is how those settings look now:

      I am not quite sure where those 400x300 originally came from, there is no such standard media resolution for 4:3 (may be video standards were not taken into account at all and it is just an optimal size for common screen resolution at a time). The closest possible dimensions that can be used for 16:9 are 640x360 (360p), 854 x 480 (480p) or 426 x 240 (240p). I think 360p is the most reasonable of those to be considered as default size (also used as default in JWPlayer).

      I am not suggesting other options e.g. possibility to specify aspect ratio or responsive mode, as they are player-specific features. I think for site defaults the static size is sufficient.

      Any opinions and thoughts are welcome.

        Attachments

        1. 400x300.png
          400x300.png
          24 kB
        2. MDL-70905.jpg
          MDL-70905.jpg
          23 kB

          Activity

            People

            Assignee:
            kabalin Ruslan Kabalin
            Reporter:
            kabalin Ruslan Kabalin
            Peer reviewer:
            Paul Holden Paul Holden
            Integrator:
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Tester:
            Anna Carissa Sadia Anna Carissa Sadia
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m