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

chore(deps): use video.js 8.x by default, but maintain backward compatibility #243

Merged
merged 3 commits into from
Feb 3, 2024

Conversation

misteroneill
Copy link
Member

Description

Update installed version of Video.js to 8.x, but maintain backward compatibility in package.json with versions 6 and newer.

Specific Changes proposed

  • Update Video.js to 8.x
  • Update tests to address failures introduced by Video.js 8 "retry on error" functionality. This is not a backward compatibility concern because the tests were using a more simplistic simulation of video playback previously.
  • Remove remaining mentions of Flash from language files and README

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Unit Tests updated or fixed
    • Docs/guides updated
  • Reviewed by Two Core Contributors

@@ -43,7 +43,7 @@ QUnit.module('videojs-errors', {
this.player = videojs(this.video);

this.player.buffered = function() {
return videojs.createTimeRange(0, 0);
return (videojs.time && videojs.time.createTimeRanges || videojs.createTimeRange)(0, 0);

Choose a reason for hiding this comment

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

is videojs.time new as of videojs 8.x?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's right!

@misteroneill misteroneill merged commit 7f7c5b1 into main Feb 3, 2024
@misteroneill misteroneill deleted the chore-vjs8 branch February 3, 2024 00:52
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.

4 participants