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

Upgrade VideoJS to v8.17.3 and OGV to 1.9.0

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • MDL-81662-main
    • 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.17.3.
      4. Verify that the version of ogv.js and ogv.js support files is 1.9.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.17.3 . Verify that the version of ogv.js and ogv.js support files is 1.9.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.
    • 3
    • Team Alpha - Planning I3-2024

      VideoJS media/player/videojs/amd/src/video-lazy.js 8.10.0 --> 8.16.1 https://github.com/videojs/video.js
      VideoJS support files media/player/videojs/videojs/ 8.10.0 --> 8.16.1 https://github.com/videojs/video.js
      Ogv.js 1.8.9 --> 1.9.0 https://github.com/bvibber/ogv.js

        1. all videos in different browsers.mp4
          26.37 MB
        2. image-2024-08-23-15-27-06-749.png
          image-2024-08-23-15-27-06-749.png
          1.81 MB
        3. image-2024-08-23-15-27-26-880.png
          image-2024-08-23-15-27-26-880.png
          697 kB
        4. image-2024-08-23-15-27-46-578.png
          image-2024-08-23-15-27-46-578.png
          1.03 MB
        5. iphone safari with audio.jpeg
          iphone safari with audio.jpeg
          70 kB
        6. iphone safari with video.jpeg
          iphone safari with video.jpeg
          76 kB
        7. mac safari with audio.mov
          9.60 MB
        8. mac safari with audio.mp4
          2.55 MB
        9. mac safari with audio-1.mov
          9.60 MB
        10. mac safari with video.mov
          28.47 MB
        11. mac safari with video.mp4
          4.66 MB
        12. ogv wrong version number.png
          ogv wrong version number.png
          7 kB
        13. translated button .png
          translated button .png
          2.08 MB
        14. videojs_samples.mbz
          10.13 MB
        15. videojs.png
          videojs.png
          12 kB
        16. video-lazy_sara.js
          2.23 MB

            kevin.percy@moodle.com Kevin Percy
            sarjona Sara Arjona (@sarjona)
            Mihail Geshoski Mihail Geshoski
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Stevani Andolo Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 22 minutes
                2d 22m

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