How to implement videojs-dvrseekbar plugin correctly?

I want to implement a videoJS player capable of playing live DVR stream. It should play the live stream but the user should be able to go back and watch like 30 minutes back.

I tried to use videojs-dvrseekbar plugin as shown in the following web page https://www.npmjs.com/package/videojs-dvrseekbar.

Like in the web page I tried the following

<script src="//path/to/video.min.js"></script>
<script src="//path/to/videojs-dvrseekbar.min.js"></script>
<script>
   var player = videojs('my-video');

   player.dvrseekbar();
</script> 

I was expecting a video bar that you can jump back but It just plays it like a live video. For a reason that I don’t understand, sometimes a short bar appears and you cannot move it. However today I was able to c\move it and DVR was working the only problem was it was too short. However, when I refreshed the page It disappeared again. I do not understand why any of these things happen. And there is not enough info on the plugin page. My whole code is as follows:

<video id="player" class="video-js vjs-default-skin" style="width: 100%;" height="400" controls></video>

<script>
  var player = videojs('player');
  player.ready(function() {
      player.src({
        src: srcurl,
        src: 'https:..../Manifest.mpd',
        type: 'application/dash+xml'});

      player.dvrseekbar();

    });

</script>

153 thoughts on “How to implement videojs-dvrseekbar plugin correctly?”

  1. Pingback: viagra and cialis
  2. Pingback: no rx viagra
  3. Pingback: cialis pills price
  4. Pingback: buy azithromycin
  5. Pingback: cvs cialis price
  6. Pingback: cost cialis 5mg
  7. Pingback: omnicef dosing
  8. Pingback: augmentin medical
  9. Pingback: zithromax goodrx
  10. Pingback: cipro dosage
  11. Pingback: clindamycin taste
  12. Pingback: bactrim dosage
  13. Pingback: celecoxib usage