Inline WebVTT Styling
- Category
- Multimedia
- Type
- New or changed feature
- Status
- In development (Chrome In development)
- Intent stage
- None
WPT details: The WPT test suite for WebVTT parsing is located here: https://github.com/web-platform-tests/wpt/tree/master/webvtt/parsing Additional tests specific to the WebVTT STYLE block will be added as tests for the implementation.
Summary
Adds the ability to embed CSS style sheets within the STYLE block of a WebVTT file. This feature is supported by several other web browsers and video players including Safari and VLC but not Chrome.
Motivation
To ensure a consistent experience across platforms, Chrome should conform to the WebVTT specification by supporting inline styling. This project is part of a larger effort to improve Accessibility around the Media Experience in Chrome.
Standards & signals
- Specification: https://www.w3.org/TR/webvtt1/
- Firefox: No signal
- Safari: Shipped/Shipping
- Web developers: Strongly positive
- Tracking bug: https://bugs.chromium.org/p/chromium/issues/detail?id=724598
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=webvtt%2Fparsing
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Inline%20WebVTT%20Styling
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Inline%20WebVTT%20Styling
- Baseline status: https://webstatus.dev/?q=Inline%20WebVTT%20Styling
Docs: https://docs.google.com/document/d/1irKaV9iSOdmL6J4T8x7qWCgf9hvrZaZCSpaphxoPr-U/edit?usp=sharing