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

Upgrade VideoJS to latest version

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-71714-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 7.17.0.

      Media playback

      1. Restore this course backup videojs_samples.mbz
      2. 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
      3. View the restored course on different browsers (including mobile)
      4. Verify that you can play all videos/audios.
      5. 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). 
      6. Change interface language to one of this list.
      7. 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.
      • 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 7.17.0. Media playback Restore this course backup videojs_samples.mbz 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. 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.  
    • 4
    • HQ Team International CIH2-218

      In MDL-70308, it was upgraded to 7.10.0 because there were some issues from 7.10.1 with MPEG-DASH. So this is something to check when upgrading it to the latest (to see if these problems have been fixed)

        1. image-2022-02-25-18-20-21-017.png
          image-2022-02-25-18-20-21-017.png
          416 kB
        2. ios_audio.png
          ios_audio.png
          168 kB
        3. ios_video.png
          ios_video.png
          146 kB
        4. iOS 15.3.1.MP4
          24.49 MB
        5. iPad OS 15.1.MP4
          48.59 MB
        6. MDL-71714_3rd party lib.png
          MDL-71714_3rd party lib.png
          140 kB
        7. MDL-71714_playback.mp4
          11.26 MB
        8. MDL-71714 mpeg-dash.png
          MDL-71714 mpeg-dash.png
          24 kB
        9. MDL-71714 working.png
          MDL-71714 working.png
          394 kB
        10. videojs_samples.mbz
          10.13 MB

            huongn@moodle.com Huong Nguyen
            sarjona Sara Arjona (@sarjona)
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 36 minutes
                1d 4h 36m

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