Captionator icon indicating copy to clipboard operation
Captionator copied to clipboard

Adding functionality in order to pull captions from Universal Subtitles...

Open anvk opened this issue 12 years ago • 1 comments

...using cross domain asynchronous calls by retrieving JSONP and then converting it to the supported WebVTT format. This feature keeps video captions up-to-date using captionator with your video plus it does not require having caption files on the server.

Usage: As example a caption track could be provided with src="http://www.universalsubtitles.org/api/1.0/subtitles/?video_url=http://www.youtube.com/watch?v=kmk43_2dtn0&language=en" or src="http://www.universalsubtitles.org/api/1.0/subtitles/?video_url=http://www.youtube.com/watch?v=kmk43_2dtn0&language=fr" or any other language and type="jsonp/webvtt".

anvk avatar Mar 22 '12 18:03 anvk

Sorry it's taken me so long to get to this!

I really like the idea of specifying a JSONP resource via src.

That said, I've always tried to make Captionator as standards-y as I can, so I might have to massage this a bit in order to make it fit. I'm having a look at how it'll fit into 0.6 too, since I've re-architected it a bit.

cgiffard avatar Mar 26 '12 23:03 cgiffard