Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore multiple languages in webvtt #91

Open
kimpham54 opened this issue Jun 13, 2017 · 2 comments
Open

Explore multiple languages in webvtt #91

kimpham54 opened this issue Jun 13, 2017 · 2 comments

Comments

@kimpham54
Copy link
Member

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>
@kstapelfeldt kstapelfeldt modified the milestone: 7.x -1.10 Release Jun 21, 2017
@kstapelfeldt
Copy link
Contributor

If we could do this it would be a cleaner solution than our existing solution, which relies on file-level naming conventions. We don't have a local use case for this and it could be a large issue/task, so it may be something we should explore in the refactor for CLAW. Do browsers support this feature in WebVTT? (video.js) Can we support all languages in one webvtt file? This is a backburner issue for us for exploration.

@MarcusBarnes
Copy link
Contributor

Added the large label to reflect that the work revolves around larger architectural and design discussions of how to support language features and with what kinds of file formats for transcripts.

MarcusBarnes added a commit to DigitalGrinnell/islandora_solution_pack_oralhistories that referenced this issue Nov 13, 2017
@MarcusBarnes MarcusBarnes modified the milestones: 7.x -1.10 Release, CLAW Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants