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

Captions/Subtitles support? #47

Closed
fmp777 opened this issue May 29, 2016 · 3 comments
Closed

Captions/Subtitles support? #47

fmp777 opened this issue May 29, 2016 · 3 comments

Comments

@fmp777
Copy link

fmp777 commented May 29, 2016

I tried adding a captions array after the "sources" but didn't seem to take. Any support for this?

@gkatsev
Copy link
Member

gkatsev commented May 29, 2016

We should document it, but it's a textTracks property. An array with objects that looks like the the one that Player#addRemoteTextTracks accepts.

@fmp777
Copy link
Author

fmp777 commented May 29, 2016

Yea I just stumbled into that while reviewing the code.

"textTracks":[ { "kind":"captions", "label":"French", "src":"/path/to/webvtt", "default":false } ]

Thanks!

@gkatsev
Copy link
Member

gkatsev commented Jun 17, 2016

Np.

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