HTML and CSS Reference
In-Depth Information
4
00:02:01.750 --> 00:02:04.800
You're lucky your blood's still flowing.
The primary difference between the SRT subtitles shown in the last section and the WebVTT
version is in the timeline. The WebVTT timeline uses a period (.) to separate the milliseconds
from the seconds, while SRT uses a comma (,). Other than the first line and swapping the
commas out, the file works as is, for a WebVTT track file.
Where WebVTT differs significantly from SRT is in the ability to provide cue settings.
Table 10 shows the different cue settings available for use with WebVTT, and how they work.
The cue settings are positioned to the right of the timeline:
00:01:47.250 --> 00:01:50.500 D:vertical
Table10.WebVTT cue settings
Setting Usage
Text direction
D:vertical
Vertical text (vertical going left)
D:vertical-lr
Vertical text (vertical going left)
Line positioning relative to frame
L:[number]%
Number is a positive number
L:[number]
Number can be positive or negative
Text positioning
T:[number]%
Number is a positive number
Text size
S:[number]%
Number is a positive number
Text alignment
A:start
At the start
A:middle
In the middle
A:end
At the end
Most of the cue settings are self-explanatory. If you want the text to align at the end and be
positioned in the middle of the video frame, use the following:
Search WWH ::




Custom Search