-
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
Default subtitle not working #1011
Comments
Duplicated of #656 |
Thanks for closing the duplicate. I hope we can get that solved soon, but focused on other things like HLS right now. |
Did that fix the issue for you? I feel like I tried that quickly and it didn't work as expected. Forgetting the specific details though. |
@heff yes it did. |
Ok, then yeah, a PR would be helpful. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As per https://github.com/videojs/video.js/blob/v4.3.0/docs/guides/tracks.md it reads a
default
attribute but even with that property set on the<track>
element, subtitles won't load by default.On the code at
vjs.TextTrack.prototype.show
it says:It feels to me like it's a bug, and the code isn't handling the
default
attribute on children tracks correctly.Setup code:
And obviously call
videojs('video_player');
in JavaScriptThe text was updated successfully, but these errors were encountered: