[webkit-help] HTML5 video tag and subtitles, alternative language tracks?

Maciej Stachowiak mjs at apple.com
Sat Apr 10 15:00:58 PDT 2010


On Apr 10, 2010, at 12:13 PM, Andre-John Mas wrote:

> Hi,
>
> Can anyone tell me how I could select which subtitles or audio track  
> is being played in the HTML5 video element?
>
> Currently I have an MPEG 4 (has subtitle and and alternative  
> language tracks) video that is playing and is defaulting to playing  
> with English subtitles in Safari. I don't know how how I would  
> disable the subtitles or change their language.
>
> The most I have seen in terms of documentation is a proposal for the  
> "Media MultitrackAPI", but beyond that I haven't found anything of  
> use.
>
> Any suggestions?

I think WebKit does not yet have an API to select from different  
caption tracks. We have been following the "Media Multitrack API"  
proposal, and will likely adopt it once it is finalized in the HTML5  
spec.

Regards,
Maciej



More information about the webkit-help mailing list