Skip to content

Commit

Permalink
Add missing webvtt keys (#2457)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnw authored Dec 18, 2024
1 parent 2f63029 commit 346bb15
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
12 changes: 12 additions & 0 deletions features/webvtt-regions.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
name: WebVTT regions
description: WebVTT regions set the areas of the video where captions or subtitles should be rendered, such as placing roll-up captions used for live captions.
spec: https://w3c.github.io/webvtt/#regions
compat_features:
- api.VTTCue.region
- api.VTTRegion
- api.VTTRegion.VTTRegion
- api.VTTRegion.id
- api.VTTRegion.lines
- api.VTTRegion.regionAnchorX
- api.VTTRegion.regionAnchorY
- api.VTTRegion.scroll
- api.VTTRegion.viewportAnchorX
- api.VTTRegion.viewportAnchorY
- api.VTTRegion.width
27 changes: 25 additions & 2 deletions features/webvtt-regions.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ status:
support:
firefox: "59"
firefox_android: "59"
safari: "7"
safari_ios: "7"
safari: "14.1"
safari_ios: "14.5"
compat_features:
# baseline: false
# support:
# firefox: "59"
# firefox_android: "59"
# safari: "7"
# safari_ios: "7"
- api.VTTRegion
- api.VTTRegion.VTTRegion
- api.VTTRegion.id
Expand All @@ -18,3 +24,20 @@ compat_features:
- api.VTTRegion.viewportAnchorX
- api.VTTRegion.viewportAnchorY
- api.VTTRegion.width

# baseline: false
# support:
# firefox: "59"
# firefox_android: "59"
# safari: "12.1"
# safari_ios: "12.2"
- api.VTTRegion.lines

# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# firefox: "59"
# firefox_android: "59"
# safari: "14.1"
# safari_ios: "14.5"
- api.VTTCue.region

0 comments on commit 346bb15

Please sign in to comment.