Closed kimpham54 closed 7 years ago
https://w3c.github.io/webvtt/#cue-text https://w3c.github.io/webvtt/#css-extensions-introduction -> look at the Type selector example
so you could do something like
WEBVTT 00:00:00.000 --> 00:00:08.000 <lang en>Yellow!</lang> <lang fr>Yellow!</lang> 00:00:09.000 --> 00:00:15.000 <lang en>Blue!</lang> <lang fr>Blue!</lang>
From @Natkeeran: One VTT can contain cues for different languages and different tracks will specify the language selection
The applicable language for the list of WebVTT Node Objects can be set by the srclang attribute in HTML.
<video ...> <track src="example-attr.vtt" srclang="en-US" default> </video>
wrong project
https://w3c.github.io/webvtt/#cue-text https://w3c.github.io/webvtt/#css-extensions-introduction -> look at the Type selector example
so you could do something like
From @Natkeeran: One VTT can contain cues for different languages and different tracks will specify the language selection
The applicable language for the list of WebVTT Node Objects can be set by the srclang attribute in HTML.