[Bug 24416] Ambiguous support for native in-band captioning.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24416

--- Comment #6 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> ---
Re-reading this request, I think I now understand what you mean.

You would like browsers to be able to take a media file that has a caption
track and render the media file with the captions without exposing these
captions through a TextTrack API. You'd still like to give JS some control over
turning such a caption track on or off.

Here's how you (or rather: such a UA) would do it.

In the HTMLMediaElement, expose two video tracks in the @videoTracks attribute:
one with @kind="main" and one with @kind="captions". To the JS dev and also to
the Web page user such a video looks like a video with burnt-in captions.
Therefore it makes sense to provide that choice in the user interface.

Now the UA in the controls interface, as well as the JS dev in their track
handling can build track selection that includes this information. Seeing as
only one video track is ever @selected, that should work for you.

Is that sufficient?

I could explain this use case in the next in-band track spec [1] if you like.


[1] http://rawgit.com/silviapfeiffer/HTMLSourcingInbandTracks/master/index.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 19 May 2014 08:50:35 UTC