Shaka Player is an open-source JavaScript library for adaptive media. It plays adaptive media formats (such as DASH and HLS) in a browser, without using plugins or Flash. Instead, Shaka Player uses the open web standards MediaSource Extensions and Encrypted Media Extensions.
We recommend using it with Mux.js in order to maximize HLS compatibility. Without Mux.js the player would support HLS CMAF format, but not HLS TS.
Its official documentation can be found here.
Shaka DRM documentation: here
For an implementation reference sample, see the shaka src folder which contains a complete implementation of a Shaka Player.
References:
-
✔️ All scenarios are supported in all tested browsers with both VOD and Live content (including Live Transcription and Low Latency).
-
⚠️ Some scenarios may not be supported (for more information, click more details at the bottom). -
❌ No scenario is supported.
Tested on:
- Chrome (v83.0.4103.97+)
- Firefox (v77.0.1+)
- Edge Chromium-based (v83.0.478.50+)
- Edge (v44.18362.449.0+)
Format | Clear | Token | Widevine | PlayReady | FairPlay | AES-128 | Captions |
---|---|---|---|---|---|---|---|
HLS TS | ✔️ | ❌ | Not applicable | Not applicable | Not applicable | ❌ | ✔️ |
HLS CMAF | ✔️ | ❌ | ❌ | ❌ | Not applicable | ❌ | ✔️ |
DASH CMAF | ✔️ | ✔️ | ✔️ | Not applicable | ❌ | ✔️ |
Tested on:
Format | Clear | Token | Widevine | PlayReady | FairPlay | AES-128 | Captions |
---|---|---|---|---|---|---|---|
HLS TS | ✔️ | Not applicable | Not applicable | Not tested | ❌ | ||
HLS CMAF | ✔️ | ❌ | Not applicable | Not tested | ❌ | ✔️ | |
DASH CMAF | ✔️ | ✔️ | Not applicable | Not applicable | ❌ | ✔️ |
Tested on:
Format | Clear | Token | Widevine | PlayReady | FairPlay | AES-128 | Captions |
---|---|---|---|---|---|---|---|
HLS TS | ✔️ | ❌ | Not applicable | Not applicable | Not applicable | ❌ | ✔️ |
HLS CMAF | ✔️ | ❌ | ❌ | ❌ | Not applicable | ❌ | ✔️ |
DASH CMAF | ✔️ | ✔️ | ✔️ | Not applicable | ❌ | ✔️ |
Tested on:
Format | Clear | Token | Widevine | PlayReady | FairPlay | AES-128 | Captions |
---|---|---|---|---|---|---|---|
HLS TS | ✔️ | ❌ | Not applicable | Not applicable | Not applicable | ❌ | ✔️ |
HLS CMAF | ✔️ | ❌ | ❌ | ❌ | Not applicable | ❌ | ✔️ |
DASH CMAF | ✔️ | ✔️ | ✔️ | Not applicable | ❌ | ✔️ |
Tested on:
Format | Clear | Token | Widevine | PlayReady | FairPlay | AES-128 | Captions |
---|---|---|---|---|---|---|---|
HLS TS | ✔️ | Not applicable | Not applicable | Not tested | ❌ | ✔️ | |
HLS CMAF | ✔️ | ❌ | Not applicable | Not tested | ❌ | ✔️ | |
DASH CMAF | ❌ | ❌ | Not applicable | Not applicable | Not applicable | ❌ | ✔️ |