-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for STYLE and cue settings
- Loading branch information
1 parent
2a5cab2
commit 724d8e0
Showing
8 changed files
with
189 additions
and
14 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
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
File renamed without changes.
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,10 @@ | ||
WEBVTT | ||
00:00:00.000 --> 00:00:04.000 position:10%,line-left align:left size:35% | ||
Where did he go? | ||
|
||
00:00:03.000 --> 00:00:06.500 position:90% align:right size:35% | ||
I think he went down this lane. | ||
|
||
00:00:04.000 --> 00:00:06.500 position:45%,line-right align:center size:35% | ||
What are you waiting for? |
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,19 @@ | ||
WEBVTT | ||
STYLE | ||
::cue { | ||
background-image: linear-gradient(to bottom, dimgray, lightgray); | ||
color: papayawhip; | ||
} | ||
NOTE comment blocks can be used between style blocks. | ||
STYLE | ||
::cue(b) { | ||
color: peachpuff; | ||
} | ||
00:00:00.000 --> 00:00:10.000 | ||
- Hello <b>world</b>. | ||
|
||
NOTE style blocks cannot appear after the first cue. |
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