-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Have been attempting to use the player in a site where caption files are now available for the YouTube videos. Unfortunately without success.
Your documentation is clear about the caption file requirements but I believe your options are too restrictive.
I have been using Universal Subtitles (http://www.universalsubtitles.org) to add captions to the YouTube videos I'm working with. Universal Subtitles is a popular and robust tool for adding captions and can take a transcript file to speed up the production of the caption file.
Once the captions have been created it is possible to export the captions into 6 different file formats: SRT, SSA, TTML, TXT, SBV and DFXP.
Discounting the TXT format which contains no timing information, all of the remaining 5 formats contain timing codes. Two of the formats - TTML and DFXP are xml - but they all record time down to hundredths of a second which may be why they are not acceptable to the player. The TTML format (which I thought was a standard) uses 'begin' and 'dur' attributes rather than 'begin' and 'end'
SBV is the format that is native to YouTube - although YouTube will accept the TTML format too.
So at the moment I have a great tool to produce captions and a good accessible player but nothing to join them up without some considerable rework. Is it feasible that you could open up the acceptable format just a little to incorporate TTML and/or DFXP. Accepting SBV format would be good too as these can be obtained directly from YouTube for videos that already have captions.