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

medialib.php changes to prioritise HTML5 video and better support for MP4

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Not a bug
    • 2.1.5, 2.2.2, 2.3, 2.4, 2.5
    • None
    • Filters, Libraries
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE

    Description

      After spending some time playing with video formats to work out best compatibility for desktop, tablet and phone I realised that the medialib.php may work better with a couple of minor changes.

      Changes I would suggest are to raise the rank of core_media_player_html5video from 20 to 90 to give it a higher priority than core_media_player_flv, also to change the supported formats for core_media_player_flv to include mp4 and m4v.

      This would mean that the mp4 alone would provide video playable by almost all devices.

      Using HTML5 video it would work on Chrome, Safari and almost all mobile devices.
      as a fallback it would use Flowplayer to work on Firefox and IE.

      During testing I discovered that Firefox only handles stereo sound (no 6 channel surround) for ogv and webm video formats making mp4 preferable.

      Attachments

        Issue Links

          Activity

            People

              moodle.com Moodle HQ
              brummie1 Matthew Cannings
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: