Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Support captions #14

Open
jbroberg opened this issue Jun 17, 2015 · 12 comments
Open

Support captions #14

jbroberg opened this issue Jun 17, 2015 · 12 comments

Comments

@jbroberg
Copy link

My understanding is the default Chromecast receiver supports captions (WebVTT). It would be great if this plugin exposed any captions set in the track element of the video tag to the Chromecast receiver.

@pepijn809
Copy link

Any way of configuring it to work with any kind of captions/subtitles as of now?
Everything else works fine, even quality selector that i've implemented into it.

But i'm not sure how to configure this to recocnise subtitles.

All help is appreciated.

@PyRo1509
Copy link

It looks like other forks have gotten some WebVTT to work.

src: 'http://www.videojs.com/vtt/captions.vtt',
'id': 'toto',
type: 'text/vtt',
kind: 'captions',
label: 'fr',
language: 'fr',

This appears in some of their Javascript sent to the chromecast. But Alas I haven't been able to get it to work for me.

Would be nice if this was put in. Right now I'm hardcoding the subtitles :(

@DHoogland
Copy link

@PyRo1509 Could you link the fork? I am working on captions and chromecast support too. Maybe we can help each other here.

@PyRo1509
Copy link

PyRo1509 commented Jan 5, 2016

@ghost
Copy link

ghost commented Jul 29, 2016

Still no merge of this feature ? How can I help ?

@ntamblyn
Copy link

I have managed to do this, will have a look at the code changes i have made and will get back to you.

I have also improved the session management.

@ntamblyn
Copy link

Heres my fork https://github.com/ntamblyn/videojs-chromecast

Just make sure you are not testing from a localhost as chromecast will experience CORs issues.

@ghost
Copy link

ghost commented Jul 29, 2016

I will try your repo. This one is not active anymore ? Have you make a PR ?

@philipgiuliani
Copy link
Member

Hi! Im the maintainer, but i dont have time to fix stuff because im very busy with other projects. If you guys want to make a PR, i'll review it of course and merge it! :)

@ntamblyn
Copy link

Made a PR

@DHoogland
Copy link

@ntamblyn Thanks for your input =) @philipgiuliani Thanks for checking this out =)

@ntamblyn
Copy link

@DHoogland happy to help i am not sure what i have done is 100% correct , i have changed a few things as to fit with the session management and subtitles. Any feedback would be much appreciated .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants