-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for WebVTT cue settings
We don't use them for anything, but we should still parse the subtitles. Added a test for this and also for voice spans.
- Loading branch information
Ben Dean-Kawamura
committed
Sep 30, 2015
1 parent
8b54135
commit 5340643
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
WEBVTT | ||
Region: id=fred width=40% lines=3 regionanchor=0%,100% viewportanchor=10%,90% scroll=up | ||
Region: id=bill width=40% lines=3 regionanchor=100%,100% viewportanchor=90%,90% scroll=up | ||
00:00:00.000 --> 00:00:20.000 region:fred align:left | ||
Hi, my name is Fred | ||
|
||
00:00:02.500 --> 00:00:22.500 region:bill align:right | ||
Hi, I'm Bill | ||
|
||
00:00:05.000 --> 00:00:25.000 region:fred align:left | ||
Would you like to get a coffee? | ||
|
||
00:00:07.500 --> 00:00:27.500 region:bill align:right | ||
Sure! I've only had one today. | ||
|
||
00:00:10.000 --> 00:00:30.000 region:fred align:left | ||
This is my fourth! | ||
|
||
00:00:12.500 --> 00:00:32.500 region:fred align:left | ||
OK, let's go. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
WEBVTT | ||
Region: id=fred width=40% lines=3 regionanchor=0%,100% viewportanchor=10%,90% scroll=up | ||
Region: id=bill width=40% lines=3 regionanchor=100%,100% viewportanchor=90%,90% scroll=up | ||
00:00:00.000 --> 00:00:20.000 | ||
<v Fred>Hi, my name is Fred | ||
|
||
00:00:02.500 --> 00:00:22.500 | ||
<v Bill>Hi, I'm Bill | ||
|
||
00:00:05.000 --> 00:00:25.000 | ||
<v Fred>Would you like to get a coffee? | ||
|
||
00:00:07.500 --> 00:00:27.500 | ||
<v Bill>Sure! I've only had one today. | ||
|
||
00:00:10.000 --> 00:00:30.000 | ||
<v Fred>This is my fourth! | ||
|
||
00:00:12.500 --> 00:00:32.500 | ||
<v Fred>OK, let's go. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters