VideoJS MPEG-DASH
videojs-contrib-dash lets you use a single format and deliver adaptive streaming video to many recent HTML5 browsers.
Video Player is loading.
Current Time 0:00
Duration 14:48
Remaining Time -14:48
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
Getting Started
Download
Dash.js and videojs-contrib-dash. Include them both in your web page along with video.js:
<video id=example-video width=600 height=300 class="video-js vjs-default-skin" controls> </video>
<script src="video.js"></script>
<script src="dash.all.js"></script>
<script src="videojs-dash.min.js"></script>
<script>
var player = videojs('example-video');
player.src({ src: 'https://example.com/dash.mpd', type: 'application/dash+xml'});
player.play();
</script>
Or just check out the source of this page!
Comentarios
Publicar un comentario