-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Disable captions by default when streaming hls videos #8662
Comments
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
We don't currently have a way to preselect which, if any, text track is shown, so in the absence of that this track is shown as it is marked as default in the manifest. It's something I'd like us to add, although you can still enable / disable the tracks as desired programmatically today. |
Hi there, //--- start of code snippet --- Hope this helps (especially as there is really scarce information on the net about this topic). Code is tested and found working for video-js 8.10.0 and 8.16.1 (test of select cases only). |
Description
It seems like captions are shown by default if a hls video provides them.
This behavior shoule be customizable and be deactivatable.
It is in many cases not intended that the captions are shown by default and must be manually disabled by the user on each page load.
Reduced test case
https://codepen.io/AndiLeni/pen/LYvzeqO?editors=1000
Steps to reproduce
Errors
No response
What version of Video.js are you using?
8.10
Video.js plugins used.
videojs-contrib-quality-menu
What browser(s) including version(s) does this occur with?
Chrome 123
What OS(es) and version(s) does this occur with?
Windows 10
The text was updated successfully, but these errors were encountered: