-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Unable to create chapter track dynamically #3244
Comments
Hey, do you happen to have a live reduced test case? Also, can you include some of the information requested in the issue template? Like the specific versions of videojs and browsers and OSes you're using, as well as whether you're using any plugins. |
I'm using MP4 as well as HLS (with HLS plugin). Issue is seen in both. |
Any suggestion/comments on making this work. |
I can't really offer any more help without a reduced test case. |
Hello guys, I had the same problem.
Please someone handle these in the next release. |
I believe that this has been addressed, at least @cervengoc's concerns should've (#3472). |
Description
Filing bug based observation mentioned in #2124
I'm using VJS 4.x version, and when I create captions and chapters in JS it works fine in PC Chrome. On Android chrome I'm not able to see chapters menu.
Using VJS 5.x I can see chapters menu but it has not effect / data in it.
Sample code:
`var player = videojs('example-video');
player.nativeTextTracks = false;
player.ready(function(){
var oldTracks = player.remoteTextTracks();
var i = oldTracks.length;
while (i--) {
player.removeRemoteTextTrack(oldTracks[i]);
}
var track1 = {
kind: 'captions',
src: 'subtitles.vtt',
srclang: 'en',
label: 'English',
default: 'default'
};
player.addRemoteTextTrack(track1);
The text was updated successfully, but these errors were encountered: