Skip to content

Upgrade Video.js to v8.10.0 - #453

Merged
masaball merged 4 commits into
mainfrom
upgrade-videojs
Apr 19, 2024
Merged

Upgrade Video.js to v8.10.0#453
masaball merged 4 commits into
mainfrom
upgrade-videojs

Conversation

@masaball

@masaball masaball commented Mar 15, 2024

Copy link
Copy Markdown
Contributor

Merge after 3.1.0 release

Related issue: #401

This PR upgrades Video.js to 8.10.0 and @silvermine/videojs-quality-selector to 1.3.1.

In my testing, all of the custom components seemed to be working as I would expect on all platforms once the File Downloader component had been updated to the new format required by Video.js.

I did encounter a change in behavior with captions on mobile devices where the text was covering the video. In Video.js 8.4.0 they implemented a change to force text tracks to overlay the video player. Our custom CSS to override text track size resulted in the overlaid text track being too large in font so I have removed that CSS.

@masaball masaball changed the title Upgrade videojs Upgrade Video.js to v8.10.0 Mar 15, 2024
@masaball
masaball marked this pull request as ready for review April 18, 2024 17:13

@Dananji Dananji left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good as far as I can tell 👍

One thing I noticed missing, is updating the installation instructions inREADME.md, where we have videojs version pinned to 7.*.

I'm not sure whether we should update this now or later when we release this change. What do you think?

@masaball

Copy link
Copy Markdown
Contributor Author

I'm not sure either. It is probably fine to leave the note alone for now and update it at the next release, but then we have to remember to update it. If we want to update now, maybe we could change the note to something like NOTE: Ramp versions <= 3.1.3 contain libraries and code that use functions deprecated in Video.js >= 8.0. Installers must use [email protected].

In testing the Video.js 8.10.0, it looks like they fixed the root cause
of the issues we were seeing with oversized captions in mobile devices.
As such, the override that we had put in place was causing the captions
to display incorrectly.

@Dananji Dananji left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@masaball
masaball merged commit 7c82c97 into main Apr 19, 2024
@masaball
masaball deleted the upgrade-videojs branch April 19, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants