Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Video.js to v8.10.0 #453

Merged
merged 4 commits into from
Apr 19, 2024
Merged

Upgrade Video.js to v8.10.0 #453

merged 4 commits into from
Apr 19, 2024

Conversation

masaball
Copy link
Contributor

@masaball masaball commented Mar 15, 2024

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
Copy link
Collaborator

@Dananji Dananji left a comment

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
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 video.js@7.21.3.

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.
Copy link
Collaborator

@Dananji Dananji left a comment

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
2 checks passed
@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.

None yet

2 participants