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

Add file types/groups for HTML5 video/audio sources and tracks

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Media
    • Testing Instructions:
      Hide
      1. Create a bunch of test files with extensions (be sure to put some content in them):
        • aac
        • flac
        • mp3
        • mp4
        • m4v
        • m4a
        • mpeg
        • mpe
        • mpg
        • oga
        • ogg
        • ogv
        • wav
        • webm
        • vtt
      2. Create a course with a file resource and drag all of your test files in to the file upload area.
      3. Switch to the list view (button in top right)
      4. Verify that all the files uploaded and that every file has a corresponding string under the "Type" column (they should be things like "Audio file (MP3)", "Video file (MP4)", not MIME types)
      Show
      Create a bunch of test files with extensions (be sure to put some content in them): aac flac mp3 mp4 m4v m4a mpeg mpe mpg oga ogg ogv wav webm vtt Create a course with a file resource and drag all of your test files in to the file upload area. Switch to the list view (button in top right) Verify that all the files uploaded and that every file has a corresponding string under the "Type" column (they should be things like "Audio file (MP3)", "Video file (MP4)", not MIME types)
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-56072-master

      Description

      Add filetype .vtt for video/audio tracks, create a group html5_track for it
      Add group html5_video for video formats supported in <source> of <video> tags
      Add group html5_audio for audio formats supported in <source> of <audio> tags

      extensions for audio sources: ogg, oga, aac, m4a, mp3, wav, flac
      extensions for video sources: m4v, webm, ogv, mp4, mpeg, mpe, mpg

      (Also make sure all these types are also in "web_video"/"web_audio" groups - I noticed that .og* are not for example)

      These types/groups will be used in atto_media (MDL-55324) and media_html5* plugins (MDL-38158)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cameron1729 cameron1729
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Marina Glancy
              Integrator:
              David Monllaó
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/16