Re: text tracks

The way to do this is usually by using JavaScript. You can create a
TextTrack object using addTextTrack() [1] and then use addCue() [2] to add
individual cues. There is an example at the second link that should be
instructive.

Regards,
Silvia.

[1]
http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#dom-media-addtexttrack
[2]
http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#dom-texttrack-addcue

On Thu, Feb 7, 2013 at 8:04 AM, GIDEON ISAAC
<mad.gideon.isaac@hotmail.com>wrote:

>  Can webvtt cues be nested in the body of a video tag without referring to
> external text track files?  I see that you can create a file full of cues,
> but suppose I did not want to have such a file on my server, but rather
> wanted to create the information based on several databases and just stick
> it in the video tag?
> Thanks,
> Gideon
>

Received on Wednesday, 6 February 2013 22:12:34 UTC