WebVTT cue alignment
Limited availability
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.
To learn more, see
VTTCue: lineAlign property,
VTTCue: positionAlign property at MDN.
Compatibility
- Chrome ❌ See crbug.com/41267398
- Chrome Android ❌ See crbug.com/41267398
- Edge ❌ See crbug.com/41267398
- Firefox 31 Released on 2014-07-22
- Firefox for Android 31 Released on 2014-07-22
- Safari 14.1 Released on 2021-04-26
- Safari on iOS 14.5 Released on 2021-04-26