dashjs

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.

BSD-3-Clause 61 个版本
安装
npm install dashjs
yarn add dashjs
pnpm add dashjs
bun add dashjs
README

Overview

dash.js is a JavaScript based implementation for the playback of MPEG DASH content in browser based environments that support the Media Source Extensions and the Encrypted Media Extensions.

Documentation

To get started, check out our documentation that includes a quickstart guide , usage instructions and contribution guidelines.

Hosted Examples

Quickstart

A very basic example on how to use dash.js in your application can be found below:

<!doctype html>
<html>
<head>
    <title>dash.js Rocks</title>
    <style>
        video {
            width: 640px;
            height: 360px;
        }
    </style>
</head>
<body>
<div>
    <video id="videoPlayer" controls></video>
</div>
<script src="https://cdn.dashjs.org/latest/modern/umd/dash.all.min.js"></script>
<script>
    (function () {
        var url = "https://dash.akamaized.net/envivio/EnvivioDash3/manifest.mpd";
        var player = dashjs.MediaPlayer().create();
        player.initialize(document.querySelector("#videoPlayer"), url, true);
    })();
</script>
</body>
</html>

Contact

Please raise any issue directly on Github.

You can also find us on Slack! and on Google Groups.

License

dash.js is released under BSD license

Tested With

Browser Stack Logo    Lambdatest Logo

版本列表
5.2.0 2026-05-28
5.1.1 2025-12-23
5.1.0 2025-11-21
5.0.3 2025-05-28
5.0.2 2025-05-14
5.0.1 2025-04-16
5.0.0 2025-02-14
4.7.4 2024-02-20
4.7.3 2023-12-08
4.7.2 2023-09-28
4.7.1 2023-06-21
4.7.0 2023-05-05
4.6.0 2023-02-20
4.5.2 2022-12-14
4.5.1 2022-11-11
4.5.0 2022-09-28
4.4.1 2022-07-25
4.4.0 2022-05-04
4.3.0 2022-02-25
4.2.1 2021-12-23
4.2.0 2021-11-29
4.1.0 2021-09-24
4.0.1 2021-07-30
4.0.0-npm 2021-06-25
3.2.2 2021-04-13
3.2.1 2021-02-22
3.2.0 2020-12-11
3.1.3 2020-09-08
3.1.2 2020-07-24
3.1.1 2020-05-22
3.1.0 2020-04-14
3.0.3 2020-03-12
3.0.2 2020-02-03
3.0.1 2019-12-04
3.0.0 2019-06-29
2.9.3 2019-02-12
2.9.2 2018-10-29
2.9.1 2018-10-01
2.9.0 2018-08-01
2.8.0 2018-07-03
2.7.0 2018-05-30
2.6.8 2018-04-30
2.6.7 2018-03-14
2.6.6 2018-02-14
2.6.5 2018-01-11
2.6.4 2017-12-06
2.6.3 2017-11-15
2.6.2 2017-10-12
2.6.1 2017-10-11
2.6.0 2017-09-05
2.5.0 2017-04-27
2.4.1 2017-02-06
2.4.0 2016-12-21
2.3.0 2016-09-02
2.2.0 2016-07-06
2.1.1 2016-04-21
2.0.0 2016-02-18
2.0.0-rc5 2016-02-17
2.0.0-rc4 2016-02-17
1.1.1 2014-09-03
0.0.0 2014-09-03