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

Upgrade VideoJS and friends to 8.3.0

    XMLWordPrintable

Details

    • MOODLE_402_STABLE
    • MOODLE_403_STABLE
    • MDL-76917-master
    • Hide

      Third party libraries

      1. Login as admin.
      2. Navigate to Site Administration > Development > Third party libraries.
      3. Verify that the version of VideoJS and VideoJS support files is 8.3.0.
      4. Verify that the version of videojs-youtube is 3.0.0.
      5. Verify that the version of ogv.js and ogv.js support files is 1.8.9.
      6. Verify that the version of ogv.js Tech plugin for Video.JS is 1.0.0.

      Media playback

      1. Restore this course backup videojs_samples.mbz (Note the first MPEG-DASH is failing with a 404 of the source, this is not a bug)
      1. Make sure that videojs is enabled and on the first place, youtube are checked.
        1. Navigate to Site Administration > Media players > Manage media players.
        2. Make sure that the VideoJS player is turned on and on the first position.
        3. Make sure that Youtube is turned on and on the second position.
        4. Click on the Setting link of VideoJS player
        5. Make sure as below:
          1. Video file ext: html_video,media_source,.f4v,.flv
          2. Audio file ext: html_audio
      2. View the restored course on different browsers (including mobile)
      3. Verify that you can play all videos/audios.
      4. Verify that in "html5 embed" you should be able to show captions and jump to chapters. (The media links added within a label should be embedded and able to be played in the course page, while to test media links added within other resources or activities you will need to access the activity). 
      5. Change interface language to one of this list.
      6. Verify that the video player buttons are also translated (enough to check in one browser).

      RecordRTC playback on MacOS/iOS (This one was copied from MDL-65943)

      Device to test this issue

      • macOS machine must have a working microphone and webcam. (Do not use MacOS Ventura at the moment, please see MDL-78391)
      • iPhone.
      • iPad.

      Initial setup

      Note: Must use Chrome/Firefox for this Initial part.

      1. Enable RecordRTC plugin in the Atto editor. (At: /admin/settings.php?section=editorsettingsatto)
      2. Create a course or use an existing one.
      3. Create a page activity called Page with Audio:
        • In the Page content, click on the Record Audio button and try to record your voice.
        • Click Save and Return to course.
      4. Create a page activity called Page with Video:
        • In the Page content, click on the Record Video button and try to record the video with your voice.
        • Click Save and Return to course.

      macOS Safari Audio testing

      1. Go to Page with Audio.
      2. Verify that you will see the UI for VideoJS now.
      3. Click on the Play button.
      4. Verify that you will hear the audio.
      5. Verify that you can pause the player.
      6. Verify that you can mute/un-mute the player.
      7. Verify that you can control the volume level of the player.

      Mac OS Safari Video testing

      1. Go to Page with Video.
      2. Verify that you will see the UI for VideoJS now.
      3. Click on the Play button.
      4. Verify that you will hear the audio.
      5. Verify that you will see the video.
      6. Verify that you can pause the player.
      7. Verify that you can mute/un-mute the player.
      8. Verify that you can control the volume level of the player.
      9. Verify that you can fullscreen the player.

      IPad with iPadOS Safari Audio testing

      1. Go to Page with Audio.
      2. Verify that you will see the UI for VideoJS now.
      3. Click on the Play button.
      4. Verify that you will hear the audio.
      5. Verify that you can pause the player.
      6. Verify that you can mute/un-mute the player.
      7. Verify that you can control the volume level of the player. (Some iPad OS versions will not allow controlling the volume level, so it is ok if this failed).

      IPad with iPadOS Safari Video testing

      1. Go to Page with Video.
      2. Verify that you will see the UI for VideoJS now.
      3. Click on the Play button.
      4. Verify that you will hear the audio.
      5. Verify that you will see the video.
      6. Verify that you can pause the player.
      7. Verify that you can mute/un-mute the player.
      8. Verify that you can control the volume level of the player. (Some iPad OS versions will not allow controlling the volume level, so it is ok if this failed).
      9. Verify that you can fullscreen the player.

      iPhone with iPhoneOS Safari Audio testing

      1. Go to Page with Audio.
      2. Verify that you will see the UI for VideoJS now.
      3. Click on the Play button.
      4. Verify that you will hear the audio.
      5. Verify that you can pause the player.
      6. Verify that you can mute/un-mute the player.
      7. Verify that you cannot control the volume level of the player. (iPhoneOS do not allow media player to control the volume).

      iPhone with iPhoneOS Safari Video testing

      1. Go to Page with Video.
      2. Verify that you will see the UI for VideoJS now.
      3. Click on the Play button.
      4. Verify that you will hear the audio.
      5. Verify that you will see the video.
      6. Verify that you can pause the player.
      7. Verify that you can mute/un-mute the player.
      8. Verify that you cannot control the volume level of the player. (iPhoneOS do not allow media player to control the volume).
      9. Verify that you can fullscreen the player.
      Show
      Third party libraries Login as admin. Navigate to Site Administration > Development > Third party libraries. Verify that the version of VideoJS and VideoJS support files is 8.3.0 . Verify that the version of videojs-youtube is 3.0.0 . Verify that the version of ogv.js and ogv.js support files is 1.8.9 . Verify that the version of ogv.js Tech plugin for Video.JS is 1.0.0 . Media playback Restore this course backup videojs_samples.mbz (Note the first MPEG-DASH is failing with a 404 of the source, this is not a bug) Make sure that videojs is enabled and on the first place, youtube are checked. Navigate to Site Administration > Media players > Manage media players. Make sure that the VideoJS player is turned on and on the first position. Make sure that Youtube is turned on and on the second position. Click on the Setting link of VideoJS player Make sure as below: Video file ext: html_video,media_source,.f4v,.flv Audio file ext: html_audio View the restored course on different browsers (including mobile) Verify that you can play all videos/audios. Verify that in "html5 embed" you should be able to show captions and jump to chapters .  (The media links added within a label should be embedded and able to be played in the course page, while to test media links added within other resources or activities you will need to access the activity).  Change interface language to one of this list. Verify that the video player buttons are also translated (enough to check in one browser). RecordRTC playback on MacOS/iOS (This one was copied from MDL-65943 ) Device to test this issue macOS machine must have a working microphone and webcam. (Do not use MacOS Ventura at the moment, please see MDL-78391 ) iPhone. iPad. Initial setup Note: Must use Chrome/Firefox for this Initial part. Enable RecordRTC plugin in the Atto editor. (At: /admin/settings.php?section=editorsettingsatto) Create a course or use an existing one. Create a page activity called Page with Audio: In the Page content, click on the Record Audio button and try to record your voice. Click Save and Return to course. Create a page activity called Page with Video: In the Page content, click on the Record Video button and try to record the video with your voice. Click Save and Return to course. macOS Safari Audio testing Go to Page with Audio. Verify that you will see the UI for VideoJS now. Click on the Play button. Verify that you will hear the audio. Verify that you can pause the player. Verify that you can mute/un-mute the player. Verify that you can control the volume level of the player. Mac OS Safari Video testing Go to Page with Video. Verify that you will see the UI for VideoJS now. Click on the Play button. Verify that you will hear the audio. Verify that you will see the video. Verify that you can pause the player. Verify that you can mute/un-mute the player. Verify that you can control the volume level of the player. Verify that you can fullscreen the player. IPad with iPadOS Safari Audio testing Go to Page with Audio. Verify that you will see the UI for VideoJS now. Click on the Play button. Verify that you will hear the audio. Verify that you can pause the player. Verify that you can mute/un-mute the player. Verify that you can control the volume level of the player. (Some iPad OS versions will not allow controlling the volume level, so it is ok if this failed). IPad with iPadOS Safari Video testing Go to Page with Video. Verify that you will see the UI for VideoJS now. Click on the Play button. Verify that you will hear the audio. Verify that you will see the video. Verify that you can pause the player. Verify that you can mute/un-mute the player. Verify that you can control the volume level of the player. (Some iPad OS versions will not allow controlling the volume level, so it is ok if this failed). Verify that you can fullscreen the player. iPhone with iPhoneOS Safari Audio testing Go to Page with Audio. Verify that you will see the UI for VideoJS now. Click on the Play button. Verify that you will hear the audio. Verify that you can pause the player. Verify that you can mute/un-mute the player. Verify that you cannot control the volume level of the player. (iPhoneOS do not allow media player to control the volume). iPhone with iPhoneOS Safari Video testing Go to Page with Video. Verify that you will see the UI for VideoJS now. Click on the Play button. Verify that you will hear the audio. Verify that you will see the video. Verify that you can pause the player. Verify that you can mute/un-mute the player. Verify that you cannot control the volume level of the player. (iPhoneOS do not allow media player to control the volume). Verify that you can fullscreen the player.
    • 6
    • Team Hedgehog 2023 Sprint 2.0, Team Hedgehog 2023 Sprint 2.1, Team Hedgehog 2023 Sprint 2.2

    Description

      Attachments

        1. tested_ipad_safari_audio.jpeg
          tested_ipad_safari_audio.jpeg
          348 kB
        2. tested_ipad_safari_video.jpeg
          tested_ipad_safari_video.jpeg
          732 kB
        3. tested_iphone_safari_audio.jpeg
          tested_iphone_safari_audio.jpeg
          264 kB
        4. tested_iphone_safari_video.jpeg
          tested_iphone_safari_video.jpeg
          844 kB
        5. tested_macos_safari_audio.png
          tested_macos_safari_audio.png
          64 kB
        6. tested_macos_safari_video.png
          tested_macos_safari_video.png
          322 kB
        7. tested_media_playback.mp4
          1.38 MB
        8. tested_third_party_libs.png
          tested_third_party_libs.png
          52 kB
        9. videojs_samples.mbz
          10.13 MB

        Issue Links

          Activity

            People

              huongn@moodle.com Huong Nguyen
              sarjona Sara Arjona (@sarjona)
              Stevani Andolo Stevani Andolo
              Andrew Lyons Andrew Lyons
              David Woloszyn David Woloszyn
              Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 3 days, 6 hours, 50 minutes
                  3d 6h 50m

                  Clockify

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