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.

FeatureProvided byDocs
HLS with fragmented MP4 (CMAF)EngineRead
DASH on demand and liveEngineRead
WebM in DASHVP9, AV1, Opus and Vorbis, played by the browser as they areEngineRead
Multi-period DASHPlayed as one presentationEngineRead
HLS with MPEG-TS segmentsRewrapped as fragmented MP4 in a WorkerEngineRead
HEVC in MPEG-TS segmentsRewrapped as an hvc1 trackEngineRead
Packed audio (AAC with ID3)EngineRead
AES-128 encrypted segmentsEngineRead
Codec detection from the init segmentFor a playlist that declares noneEngineRead
Native HLS in SafariThe player hands HLS to the browser where that is betterPlayerRead
Progressive MP4 and MP3Through the browser's own playbackPlayer corePlayerRead
Safari on iPhone and iPadThrough ManagedMediaSource, from iOS 17.1EngineRead

Live

Sliding windows, the live edge, and wall-clock time.

FeatureProvided byDocs
Live HLS and live DASHEngineRead
DVR windowEngineRead
Low-latency HLSParts, preload hints, blocking reloads and delta updatesEngineRead
Low-latency DASHEarly requests, and chunked segments appended as they arriveEngineRead
Live catch-upPlayback speeds up or slows down to hold a target latencyEngineRead
Jump to liveEnginePlayerRead
Live latency measurementEngineRead
Program date timeEngineRead
CMAF timingLands a segment at its playlist time, whatever the packager's clockEngineRead

Quality

Adaptive bitrate you can constrain, pin, and read.

FeatureProvided byDocs
Adaptive bitrateFrom throughput and buffer, with an emergency floorEngineRead
Quality capped to the player's sizeEngineRead
Quality constraints and pinsEngineRead
Codec switchingEngineRead
Video tracksVersions of the picture, such as a sign-language version, apart from the qualitiesEngineRead
Quality switch timingAt the next segment, soon, or nowEngineRead
HDR by capabilityPQ and HLG only where the screen and decoder show themEngineRead
Quality menuPlayerRead
Video menuThe versions in the manifest, and versions at their own URLsPlayerRead

DRM

Every major key system, in the engine or on a native session.

FeatureProvided byDocs
WidevineEngineRead
PlayReadyEngineRead
FairPlayEngineRead
WisePlayOn Huawei devicesEngineRead
ClearKeyEngineRead
License renewalEngineRead
Custom license requestsAn async function in place of the built-in requestEngineRead
License request retriesWith the timeouts, delays and backoff you setEngineRead
Concurrent stream limitsKey sessions are released on suspend, for a rights server that counts streamsEngineRead
License servers per key system and sourceEngineRead
DRM for native HLSFor a native HLS session in SafariEnginePlayerRead
DRM badge in the controlsPlayerRead

Subtitles and captions

The formats broadcast and streaming both use.

FeatureProvided byDocs
WebVTTEngineRead
Segmented WebVTTEngineRead
TTMLEngineRead
IMSC1 image subtitlesPNG subtitles, drawn over the videoEngineRead
CEA-608 captionsEngineRead
CEA-708 captionsEngineRead
Forced subtitlesEngineRead
Native text tracksIn step with the browser's caption menuEngineRead
Live captions from speechWritten on the device from the video's own sound, in ChromeLive captionsRead
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 desktopSubtitle translationRead
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 barTranscriptEngineRead
Transcript search of your ownA function of your page answers the search, from your serverTranscriptRead
Subtitle size and backgroundSet by the viewer in the subtitles menuPlayerRead

Audio

Alternate soundtracks, named for a menu.

FeatureProvided byDocs
Alternate audioEngineRead
Localized track namesFrom the HLS localization dictionaryEngineRead
Audio description and SDH labelsEnginePlayerRead
Channel layout of each trackFor a label such as "English (5.1)"EngineRead
Audio menuPlayerRead
Audio-only sourcesPlayerRead

Network

Hooks on every request, and the CDN standards.

FeatureProvided byDocs
Request and response hooksEngineRead
Retries and recoveryEngineRead
Stall recovery and gap jumpingNudges the playhead, flushes and refetches, or jumps a small gapEngineRead
Suspend and resumeStops every request while the source stays loadedEngineRead
CMCDAs a query argument or as headersEngineRead
CMSDEngineRead
Content steeringEngineRead
Preloading of the next sourceThe manifest, or its first segments tooEngineRead
Source fallbackPlayer corePlayerRead
Source switch in placeAnother URL of the same programme, with the last frame and the controls heldPlayerRead

The player

A custom element and the controls you place inside it.

FeatureProvided byDocs
Framework-free custom elementPlayerRead
Composable controlsPlay, seek, volume, menus, time, title, spinner, error screenPlayerRead
Styling with parts and tokensPlayerRead
Labels in any languagePlayerRead
Controls in 12 languagesEach loaded only when a player shows it, following the page's langPlayerRead
Blocked content messagesA geoblock or an age rule, in the viewer's language, over the picturePlayerRead
Persistent viewer preferencesTracks, volume, rate, quality and subtitle lookPreferencesRead
Keyboard and media keysPlayerRead
Touch controlsA tap shows or hides the bar, and a click still plays or pausesPlayerRead
Screen reader supportEvery control has a name, and the sliders announce their value in wordsPlayerRead
Responsive control barOn a narrow player the bar hides the least important firstPlayerRead
Custom icons and controlsPlayerRead
Menu items of your ownAn element inside a menu adds items, lists and links to itPlayerRead
Layouts by player widthA compact, a regular and a wide layout, from the player's own widthPlayerRead
Fullscreen and picture in picturePlayerRead
AirPlayPlayerRead
Playback speed menuPlayerRead
360° videoEquirectangular and 180°, turned by a drag, the W, A, S and D keys, a game controller or the device360° videoEngineRead
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 screen360° videoEngineRead
360° video in a WebXR headsetA button shows the view in the headset, and the viewer looks around with their head360° videoRead
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 iPhone360° videoRead
Headless coreFor a page that writes its own interfacePlayer coreRead
CDN script tagsEnginePlayerRead

Your content and your analytics

You load a programme by its id or its data, and you add the trackers your page needs.

FeatureProvided byDocs
Content API connectorsA programme id in src, which your connector resolves to what playsPlayer corePlayerRead
Preloaded programme dataResolved without a fetch, from your cache, your server or a fixturePlayer corePlayerRead
Next programme resolved aheadA preload or the playlist resolves it, so its start asks your API nothingPlayer corePlaylistRead
Metadata from your APITitle, poster, chapters and markersPlayerRead
Analytics trackersThe player starts and stops them at each programme; your page decides whenPlayerRead
Session and device IDsShown in the diagnostics panel and its reportPlayerDiagnosticsRead

Ads

The breaks your stream signals, and the ads your ad server returns.

FeatureProvided byDocs
HLS interstitialsPre-, mid- and post-rolls, asset lists, and the skip and jump rulesEngineAdsRead
DASH alternative MPDInsert and replace, and List MPDs with their callback beaconsEngineAdsRead
SCTE-35 breaksFrom HLS tags, DASH events and emsg boxesEngineAdsRead
Promos, credits and chapters from SCTE-35Promos show as promos, credits give Skip intro and Skip creditsEngineAdsRead
SVTA2053 ad creativesThe beacons, skip and click of ads stitched into the streamEngineAdsRead
VAST 2 to 4.3Wrappers, pods and skip offsets; HLS, DASH and MP4 ads on the player's own videoAdsRead
VMAP 1.0.1Pre-, mid- and post-rolls from one scheduleAdsRead
Scheduled ad breaksFrom your own ad decisions, with a VAST or a stream for eachAdsRead
Ad decisions for live cue-outsA VAST for each SCTE-35 breakAdsRead
Ad beaconsImpressions, quartiles, clicks, errors and viewability, with the VAST macrosAdsRead
Ad controls in 12 languagesThe label, the skip button, the progress and the advertiser's linkAdsRead
Ad breaks on the seek barPlayerAdsRead

Playlist

A list of items, from markup or from a script.

FeatureProvided byDocs
Next, previous, repeat and shufflePlaylistRead
Playlist panelPlaylistRead
Up next card with a countdownPlaylistRead
Next item preloadPlaylistRead
Lock screen and media keysNext and previous through the Media Session APIPlaylistRead
Failed items skippedPlaylistRead

TV and casting

The living room: remotes, Chromecast, and 2021 TVs.

FeatureProvided byDocs
Samsung Tizen and LG webOS, from 2021 modelsThe floor is Chromium 76EngineTV navigationRead
Remote control navigationTV navigationRead
Remote seekingThe keys move a target, and Enter seeks to itTV navigationRead
Game controllersPlayStation, Xbox and Nintendo pads, with buttons you remapTV navigationRead
Chromecast senderCast senderRead
DRM and signed URLs on the ChromecastThe sender passes the license servers and headers, and a new token on a 401Cast senderCast receiverRead
The player's own controls during a castPlay, the seek bar, the volume, the chapters and the skips drive the devicePlayerCast senderRead
The programme on the receiverTitle, poster, markers and chapters, or a load through your own connectorCast senderCast receiverRead
Chromecast receiverA bridge to Google's receiver framework, with hooksCast receiverRead

Diagnostics

See what the player did, and send it to someone who can read it.

FeatureProvided byDocs
Stats and the engine traceEngineRead
Trace replayEngineRead
Quality of experience metricsStartup, rebuffering and switches, measured locallyEngineRead
A diagnostics panel in the playerCharts, engine state, browser support, and a report to copyDiagnosticsRead
Typed events and error codesEngineRead