Skip to content

dash.jsThe official reference client for MPEG-DASH

Production-ready playback of MPEG-DASH via JavaScript in any browser that supports the Media Source Extensions.

dash.js

Get started in 30 seconds

Include dash.js from the CDN, add a video element and point the player to an MPD:

html
<script src="https://cdn.dashjs.org/latest/modern/umd/dash.all.min.js"></script>
<video id="video" controls></video>
<script>
    dashjs.MediaPlayer().create().initialize(
        document.querySelector('#video'),
        'https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps.mpd',
        true
    );
</script>

Or install it as a package:

sh
npm install dashjs

The Quickstart covers all installation options — CDN builds, npm, bundle formats and building from source — and the basic player setup.

Why dash.js?

  • Reference client of the DASH Industry Forum: dash.js is developed alongside the DASH-IF Interoperability Guidelines and serves as the reference for new MPEG-DASH features. See the feature overview for what is supported.
  • Production ready: used by broadcasters, streaming platforms and device manufacturers worldwide, from desktop browsers to smart TVs and set-top boxes.
  • Open source and extensible: BSD-licensed, driven by an active community, with a modular architecture that lets you replace or extend almost any component.

Getting help

The full API Documentation describes all public methods, interfaces, properties, and events.

For help, join the #dashjs Slack channel, our email list, file an issue on GitHub or read the documentation on this website.

License

dash.js is released under the BSD license.