dash.js plays MPEG-DASH streams in browsers that support Media Source Extensions and Encrypted Media Extensions, including DRM scenarios.
Overview
dash.js is a JavaScript implementation for playing MPEG-DASH content in browser environments. It targets users and integrators who need adaptive bitrate streaming with standards-based APIs rather than a proprietary plugin stack.
Playback relies on Media Source Extensions for media pipeline control and Encrypted Media Extensions where encrypted streams are required. The project publishes documentation with quickstart and usage guidance, plus hosted reference player and sample pages for trying streams.
The reference web UI exposes detailed player settings, DRM license URLs, buffering metrics, and export of configuration as URLs, code snippets, or JSON. Samples highlight features for testing and demonstration across video, audio, and live profiles.
Issues and community discussion are handled through the project GitHub and associated group channels. The player is released under a BSD license.
Key features
- MPEG-DASH adaptive streaming
- Media Source Extensions playback
- Encrypted Media Extensions DRM
- Reference player web UI
- Configurable stream samples
- Settings export and import
- Live and on-demand metrics
- Multi-period stream support
Use cases
- Embedding DASH in web apps
- Testing DRM license flows
- Validating adaptive bitrate behavior
- Demonstrating DASH-IF features
- Debugging streaming player settings