Volver al ranking
Dash-Industry-Forum/dash.js
JavaScriptreference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.htmlA reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.
javascriptdashdrmcmafememedia-source-extensionsencrypted-media-extensionsmsssmooth-streamingvideoabradaptive-bitrate-streaming
Métricas clave
Crecimiento de estrellas
Estrellas
5.5k
Forks
1.7k
Crecimiento semanal
—
Issues
127
2k4k
nov 2012feb 2015may 2017sept 2019dic 2021abr 2024jul 2026
Artefactosnpm
npm install dash.jsREADME

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
Repositorios relacionados
