@oplayer/dash
v1.2.26
Published
Dash plugin for oplayer
Downloads
66
Readme
oplayer-plugin-dash
MPEG DASH plugin for oplayer
Install
npm i @oplayer/core @oplayer/dash dashjs
<script src="https://cdn.jsdelivr.net/npm/@oplayer/core@latest/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@oplayer/dash@latest/dist/index.min.js"></script>
<div id="oplayer" />
<script>
OPlayer.make('#oplayer', {
source: {
src: 'https://dash.akamaized.net/envivio/EnvivioDash3/manifest.mpd',
poster: 'https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/poster.png'
}
})
.use([ODash({ library: 'https://cdn.dashjs.org/latest/dash.all.min.js' })])
.create()
</script>