video.jsmpeg-dashmpd

NO bit stream picker in video js for dash


i am trying to run dashed files in video.js which runs smooth with my code i was wondering if there is any way to extract bit-streams and show them on control bar of player.so that a user could switch between bit rates? thanks

<body>
    <video id="example-video" width="1000" height="600" class="video-js vjs-default-skin" controls></video>
</body>
</html>
<script>
var player = videojs('example-video');

player.ready(function() {
  player.src({
    src: 'http://127.0.0.1/demo/150219236637491.mpd',
    type: 'application/dash+xml'
  });

  player.play();
});
</script>

Solution

  • There is a plugin which allows you do this:

    https://github.com/streamroot/videojs-quality-picker