VideoJS MPEG-DASH

videojs-contrib-dash lets you use a single format and deliver adaptive streaming video to many recent HTML5 browsers.




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!