Hello,

I am trying to display webvtt captions with a video. How can I do the 
following on gwt?

 <video>
    <source src="video/buffy.webm" type="video/webm">
   <track label="English" kind="subtitles" srclang="en" 
src="subtitles/vtt/buffy.vtt" default>
   <track label="EspaƱol" kind="subtitles" srclang="es" 
src="subtitles/vtt/buffy-es.vtt">
</video>

I can do the following:

 private Video video = Video.createIfSupported (); 
 video.addSource ("buffy.webm");
 

but I cannot figure out a way of adding the track part. Any pointers are 
really helpful

thanks,
anne

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to