Skip to content

Commit c9e16c7

Browse files
committed
Add WebVTT cue alignment feature
1 parent bbaf34d commit c9e16c7

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated from: webvtt-cue-alignment.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
name: WebVTT cue alignment
5+
description: The WebVTT cue alignment settings control which part of the cue is aligned with the given line and position. Cue alignment is set using `line` and `position` settings in WebVTT files or the `lineAlign` and `positionAlign` properties of `VTTCue` using JavaScript.
6+
spec:
7+
- https://w3c.github.io/webvtt/#dom-vttcue-linealign
8+
- https://w3c.github.io/webvtt/#dom-vttcue-positionalign
9+
status:
10+
baseline: false
11+
support:
12+
firefox: "31"
13+
firefox_android: "31"
14+
safari: "14.1"
15+
safari_ios: "14.5"
16+
compat_features:
17+
- api.VTTCue.lineAlign
18+
- api.VTTCue.positionAlign

features/webvtt-cue-alignment.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: WebVTT cue alignment
2+
description: The WebVTT cue alignment settings control which part of the cue is aligned with the given line and position. Cue alignment is set using `line` and `position` settings in WebVTT files or the `lineAlign` and `positionAlign` properties of `VTTCue` using JavaScript.
3+
spec:
4+
- https://w3c.github.io/webvtt/#dom-vttcue-linealign
5+
- https://w3c.github.io/webvtt/#dom-vttcue-positionalign
6+
compat_features:
7+
- api.VTTCue.lineAlign
8+
- api.VTTCue.positionAlign

0 commit comments

Comments
 (0)