- From: Simon Pieters <simonp@opera.com>
- Date: Wed, 07 Dec 2011 23:07:14 +0100
- To: "Silvia Pfeiffer" <silviapfeiffer1@gmail.com>
- Cc: public-texttracks@w3.org, "Aharon (Vladimir) Lanin" <aharon@google.com>
On Wed, 07 Dec 2011 22:18:22 +0100, Silvia Pfeiffer <silviapfeiffer1@gmail.com> wrote: > From the point of view of authoring that information, two WebVTT files > work. However, the HTML spec says that only one track of kind captions > or subtitles can be showing at any point in time > http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#sourcing-out-of-band-text-tracks Where does the spec say this? As far as I can tell the spec allows several tracks to be showing at the same time if the user so wishes. However, there's no declarative way for the author to give two tracks "showing by default", which is something we might want to change. > , so display of two languages would require one to be subtitles and > the other to be metadata and rendered by JavaScript. I would therefore > think that they should be in the same subtitle file. However, I would > also recommend making them different cues, even if they are fully > synchronized. At least that way you can position them better. > > >> Currently WebVTT does not support declaring language at all, although >> there >> have been discussions to add it (per file, per block, per cue and/or >> intra >> cue). Use cases presented in this area might inform both the direction >> and >> language issues. > > To satisfy Aharon's use case with both Hebrew and English on screen - > even if provided in different cues - we will at minimum need a means > to specify language per cue. Probably more flexible would be a means > to associate a block of text within a cue with a language. > > The use case for a per file language declaration is that not every > webvtt file will be consumed by a Web browser, so the language can't > be provided in a @srclang attribute of the "glue" markup and has to be > provided elsewhere. Since this just sets the default language for the > file, it does not solve the issues with bidi within a single cue's > paragraph. > > Silvia. -- Simon Pieters Opera Software
Received on Wednesday, 7 December 2011 22:08:00 UTC