项目
在 GitHub 查看 
Dash-Industry-Forum/dash.js
关于
用于在 JavaScript 和兼容浏览器中播放 MPEG-DASH 的参考客户端实现。
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +3
- 1个月
- +3
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
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
探索相关项目
加载中…
