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

⬆️ videojs upgrade #2535

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

⬆️ videojs upgrade #2535

wants to merge 10 commits into from

Conversation

AntoLC
Copy link
Contributor

@AntoLC AntoLC commented Dec 18, 2023

Purpose

Upgrade video.js to version 8.

Proposal

  • adapt TS to new version
  • upgrade related dependencies
  • transcipt seems to not work
  • tests all the plugins

Notes

The official videojs-http-source-selector is not compatible with the version 8, we found a fork of it that
is compatible: https://github.com/FreeTubeApp/videojs-http-source-selector.git

@AntoLC AntoLC self-assigned this Dec 18, 2023
@AntoLC AntoLC force-pushed the feature/anthony/videojs-upgrade branch 5 times, most recently from 50feaf9 to 5e41fbe Compare December 21, 2023 16:13
@AntoLC AntoLC force-pushed the feature/anthony/videojs-upgrade branch 3 times, most recently from 17be18d to 2c33cc9 Compare December 22, 2023 11:41
@AntoLC AntoLC changed the title feature/anthony/videojs upgrade ⬆️ videojs upgrade Dec 22, 2023
A new version of video.js was available, we upgraded to it.
The official videojs-http-source-selector on npm is not compatible
with video.js version 8, this forked version is compatible.
We decided to use this version in waiting the official version to be
compatible with video.js version 8.
We adapt the plugin downloadVideoPlugin to work with video.js
version 8.
We adapt the plugin id3Plugin to work with video.js
version 8.
We adapt the plugin p2pHlsPlugin to work with video.js
version 8.
We adapt the plugin qualitySelectorPlugin to work with video.js
version 8.
We adapt the plugin sharedMediaPlugin to work with video.js
version 8.
We adapt the plugin transcriptPlugin to work with video.js
version 8.
We adapt the plugin xapiPlugin to work with video.js
version 8.
When we adapted the class in the plugin video.js, we use the keyword
"declare", which is not interpreted by babel. We need to add a plugin
to babel to interpret this keyword correctly.
@lunika lunika force-pushed the feature/anthony/videojs-upgrade branch from 2c33cc9 to 0ac7324 Compare February 21, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant