Features
Everything in the box
143 features across 14 areas. Each one shows the package that provides it and links to its docs. You install the packages you need, and the rest stays out of your bundle.
Protocols and formats
One engine reads HLS and DASH, in the containers streams are packaged in.
| Feature | Provided by | Docs |
|---|---|---|
| HLS with fragmented MP4 (CMAF) | Engine | Read |
| DASH on demand and live | Engine | Read |
| WebM in DASHVP9, AV1, Opus and Vorbis, played by the browser as they are | Engine | Read |
| Multi-period DASHPlayed as one presentation | Engine | Read |
| HLS with MPEG-TS segmentsRewrapped as fragmented MP4 in a Worker | Engine | Read |
| HEVC in MPEG-TS segmentsRewrapped as an hvc1 track | Engine | Read |
| Packed audio (AAC with ID3) | Engine | Read |
| AES-128 encrypted segments | Engine | Read |
| Codec detection from the init segmentFor a playlist that declares none | Engine | Read |
| Native HLS in SafariThe player hands HLS to the browser where that is better | Player | Read |
| Progressive MP4 and MP3Through the browser's own playback | Player corePlayer | Read |
| Safari on iPhone and iPadThrough ManagedMediaSource, from iOS 17.1 | Engine | Read |
Live
Sliding windows, the live edge, and wall-clock time.
| Feature | Provided by | Docs |
|---|---|---|
| Live HLS and live DASH | Engine | Read |
| DVR window | Engine | Read |
| Low-latency HLSParts, preload hints, blocking reloads and delta updates | Engine | Read |
| Low-latency DASHEarly requests, and chunked segments appended as they arrive | Engine | Read |
| Live catch-upPlayback speeds up or slows down to hold a target latency | Engine | Read |
| Jump to live | EnginePlayer | Read |
| Live latency measurement | Engine | Read |
| Program date time | Engine | Read |
| CMAF timingLands a segment at its playlist time, whatever the packager's clock | Engine | Read |
Quality
Adaptive bitrate you can constrain, pin, and read.
| Feature | Provided by | Docs |
|---|---|---|
| Adaptive bitrateFrom throughput and buffer, with an emergency floor | Engine | Read |
| Quality capped to the player's size | Engine | Read |
| Quality constraints and pins | Engine | Read |
| Codec switching | Engine | Read |
| Video tracksVersions of the picture, such as a sign-language version, apart from the qualities | Engine | Read |
| Quality switch timingAt the next segment, soon, or now | Engine | Read |
| HDR by capabilityPQ and HLG only where the screen and decoder show them | Engine | Read |
| Quality menu | Player | Read |
| Video menuThe versions in the manifest, and versions at their own URLs | Player | Read |
DRM
Every major key system, in the engine or on a native session.
| Feature | Provided by | Docs |
|---|---|---|
| Widevine | Engine | Read |
| PlayReady | Engine | Read |
| FairPlay | Engine | Read |
| WisePlayOn Huawei devices | Engine | Read |
| ClearKey | Engine | Read |
| License renewal | Engine | Read |
| Custom license requestsAn async function in place of the built-in request | Engine | Read |
| License request retriesWith the timeouts, delays and backoff you set | Engine | Read |
| Concurrent stream limitsKey sessions are released on suspend, for a rights server that counts streams | Engine | Read |
| License servers per key system and source | Engine | Read |
| DRM for native HLSFor a native HLS session in Safari | EnginePlayer | Read |
| DRM badge in the controls | Player | Read |
Subtitles and captions
The formats broadcast and streaming both use.
| Feature | Provided by | Docs |
|---|---|---|
| WebVTT | Engine | Read |
| Segmented WebVTT | Engine | Read |
| TTML | Engine | Read |
| IMSC1 image subtitlesPNG subtitles, drawn over the video | Engine | Read |
| CEA-608 captions | Engine | Read |
| CEA-708 captions | Engine | Read |
| Forced subtitles | Engine | Read |
| Native text tracksIn step with the browser's caption menu | Engine | Read |
| Live captions from speechWritten on the device from the video's own sound, in Chrome | Live captions | Read |
| Subtitle translationThe subtitles that show, in a language the stream lacks. The browser's Translator API translates them on the device, in Chrome and Edge on a desktop | Subtitle translation | Read |
| Transcript with a searchThe subtitles as a list of lines. A press on a line seeks to it, and the matches of a search are marked on the seek bar | TranscriptEngine | Read |
| Transcript search of your ownA function of your page answers the search, from your server | Transcript | Read |
| Subtitle size and backgroundSet by the viewer in the subtitles menu | Player | Read |
Audio
Alternate soundtracks, named for a menu.
| Feature | Provided by | Docs |
|---|---|---|
| Alternate audio | Engine | Read |
| Localized track namesFrom the HLS localization dictionary | Engine | Read |
| Audio description and SDH labels | EnginePlayer | Read |
| Channel layout of each trackFor a label such as "English (5.1)" | Engine | Read |
| Audio menu | Player | Read |
| Audio-only sources | Player | Read |
Network
Hooks on every request, and the CDN standards.
| Feature | Provided by | Docs |
|---|---|---|
| Request and response hooks | Engine | Read |
| Retries and recovery | Engine | Read |
| Stall recovery and gap jumpingNudges the playhead, flushes and refetches, or jumps a small gap | Engine | Read |
| Suspend and resumeStops every request while the source stays loaded | Engine | Read |
| CMCDAs a query argument or as headers | Engine | Read |
| CMSD | Engine | Read |
| Content steering | Engine | Read |
| Preloading of the next sourceThe manifest, or its first segments too | Engine | Read |
| Source fallback | Player corePlayer | Read |
| Source switch in placeAnother URL of the same programme, with the last frame and the controls held | Player | Read |
The player
A custom element and the controls you place inside it.
| Feature | Provided by | Docs |
|---|---|---|
| Framework-free custom element | Player | Read |
| Composable controlsPlay, seek, volume, menus, time, title, spinner, error screen | Player | Read |
| Styling with parts and tokens | Player | Read |
| Labels in any language | Player | Read |
| Controls in 12 languagesEach loaded only when a player shows it, following the page's lang | Player | Read |
| Blocked content messagesA geoblock or an age rule, in the viewer's language, over the picture | Player | Read |
| Persistent viewer preferencesTracks, volume, rate, quality and subtitle look | Preferences | Read |
| Keyboard and media keys | Player | Read |
| Touch controlsA tap shows or hides the bar, and a click still plays or pauses | Player | Read |
| Screen reader supportEvery control has a name, and the sliders announce their value in words | Player | Read |
| Responsive control barOn a narrow player the bar hides the least important first | Player | Read |
| Custom icons and controls | Player | Read |
| Menu items of your ownAn element inside a menu adds items, lists and links to it | Player | Read |
| Layouts by player widthA compact, a regular and a wide layout, from the player's own width | Player | Read |
| Fullscreen and picture in picture | Player | Read |
| AirPlay | Player | Read |
| Playback speed menu | Player | Read |
| 360° videoEquirectangular and 180°, turned by a drag, the W, A, S and D keys, a game controller or the device | 360° videoEngine | Read |
| Stereoscopic 360° videoA frame that holds a picture for each eye, top and bottom or side by side. Each eye gets its own in a headset and on the split screen | 360° videoEngine | Read |
| 360° video in a WebXR headsetA button shows the view in the headset, and the viewer looks around with their head | 360° video | Read |
| 360° video split in two for a phone in a viewerOne half of the screen for each eye, where the page turns it on. Not on an iPhone | 360° video | Read |
| Headless coreFor a page that writes its own interface | Player core | Read |
| CDN script tags | EnginePlayer | Read |
Your content and your analytics
You load a programme by its id or its data, and you add the trackers your page needs.
| Feature | Provided by | Docs |
|---|---|---|
| Content API connectorsA programme id in src, which your connector resolves to what plays | Player corePlayer | Read |
| Preloaded programme dataResolved without a fetch, from your cache, your server or a fixture | Player corePlayer | Read |
| Next programme resolved aheadA preload or the playlist resolves it, so its start asks your API nothing | Player corePlaylist | Read |
| Metadata from your APITitle, poster, chapters and markers | Player | Read |
| Analytics trackersThe player starts and stops them at each programme; your page decides when | Player | Read |
| Session and device IDsShown in the diagnostics panel and its report | PlayerDiagnostics | Read |
Ads
The breaks your stream signals, and the ads your ad server returns.
| Feature | Provided by | Docs |
|---|---|---|
| HLS interstitialsPre-, mid- and post-rolls, asset lists, and the skip and jump rules | EngineAds | Read |
| DASH alternative MPDInsert and replace, and List MPDs with their callback beacons | EngineAds | Read |
| SCTE-35 breaksFrom HLS tags, DASH events and emsg boxes | EngineAds | Read |
| Promos, credits and chapters from SCTE-35Promos show as promos, credits give Skip intro and Skip credits | EngineAds | Read |
| SVTA2053 ad creativesThe beacons, skip and click of ads stitched into the stream | EngineAds | Read |
| VAST 2 to 4.3Wrappers, pods and skip offsets; HLS, DASH and MP4 ads on the player's own video | Ads | Read |
| VMAP 1.0.1Pre-, mid- and post-rolls from one schedule | Ads | Read |
| Scheduled ad breaksFrom your own ad decisions, with a VAST or a stream for each | Ads | Read |
| Ad decisions for live cue-outsA VAST for each SCTE-35 break | Ads | Read |
| Ad beaconsImpressions, quartiles, clicks, errors and viewability, with the VAST macros | Ads | Read |
| Ad controls in 12 languagesThe label, the skip button, the progress and the advertiser's link | Ads | Read |
| Ad breaks on the seek bar | PlayerAds | Read |
Playlist
A list of items, from markup or from a script.
| Feature | Provided by | Docs |
|---|---|---|
| Next, previous, repeat and shuffle | Playlist | Read |
| Playlist panel | Playlist | Read |
| Up next card with a countdown | Playlist | Read |
| Next item preload | Playlist | Read |
| Lock screen and media keysNext and previous through the Media Session API | Playlist | Read |
| Failed items skipped | Playlist | Read |
TV and casting
The living room: remotes, Chromecast, and 2021 TVs.
| Feature | Provided by | Docs |
|---|---|---|
| Samsung Tizen and LG webOS, from 2021 modelsThe floor is Chromium 76 | EngineTV navigation | Read |
| Remote control navigation | TV navigation | Read |
| Remote seekingThe keys move a target, and Enter seeks to it | TV navigation | Read |
| Game controllersPlayStation, Xbox and Nintendo pads, with buttons you remap | TV navigation | Read |
| Chromecast sender | Cast sender | Read |
| DRM and signed URLs on the ChromecastThe sender passes the license servers and headers, and a new token on a 401 | Cast senderCast receiver | Read |
| The player's own controls during a castPlay, the seek bar, the volume, the chapters and the skips drive the device | PlayerCast sender | Read |
| The programme on the receiverTitle, poster, markers and chapters, or a load through your own connector | Cast senderCast receiver | Read |
| Chromecast receiverA bridge to Google's receiver framework, with hooks | Cast receiver | Read |
Diagnostics
See what the player did, and send it to someone who can read it.
| Feature | Provided by | Docs |
|---|---|---|
| Stats and the engine trace | Engine | Read |
| Trace replay | Engine | Read |
| Quality of experience metricsStartup, rebuffering and switches, measured locally | Engine | Read |
| A diagnostics panel in the playerCharts, engine state, browser support, and a report to copy | Diagnostics | Read |
| Typed events and error codes | Engine | Read |