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 captions button does not appear #21

Open
ranuser99 opened this issue Apr 20, 2017 · 1 comment
Open

videojs captions button does not appear #21

ranuser99 opened this issue Apr 20, 2017 · 1 comment

Comments

@ranuser99
Copy link

ranuser99 commented Apr 20, 2017

Captions button does not appear when viewing a live stream with captions. Hls.js is processing captions and I can manually display by calling:

videojs.textTracks[0].mode = 'showing'

Can you point me to a brief example showing how to enable the captions button? Do I need to wire it up to call mode = 'showing' and mode = 'hidden' ?

Thank you!

@tmm1
Copy link
Contributor

tmm1 commented May 5, 2017

Hls.js is processing captions and I can manually display by calling:

videojs.textTracks[0].mode = 'showing'

Huh, this isn't valid code AFAICT. Do you mean something like player.textTracks()[0]? In my case, I don't even see an text tracks being populated on the player..

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

No branches or pull requests

2 participants