Start a new topic

Video.js pdn

 Hi, was try create player video.js with pdn, when i start watch video it is will loading from server, and when i see on finish of video and drag to start video palyer will load all chunks again, i think all chuks already should be in buffer of PC.

try this code: watch video full and rewind to the beginning, all chunks will load again.

<link rel="stylesheet" href="">
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
  class="video-js vjs-default-skin"
var videoElement = document.getElementsByTagName("video")[0];
window.videojs(videoElement, {
   "viblast": {
      "key": "759ee919-9a1c-4e40-8792-fbfe27c3f071",
      "enablePdn": true,
      "windowSize": 99,
      "lowBufferLevel": 180,
      "maxRequestedChunksFromCdn": 1,
      "longPauseTimeout": 99999
window.videojs(videoElement).src({type: "application/x-mpegURL", src: ""});
1 Comment


Thank you for the feedback. Unfortunately, the player has internal algorithm which clears its buffers when the backward seek is performed, which is not true for the forward seek.

That is the reason why the chunks are downloaded again. We will definitely review this behavior and hope the fix will be available soon.

Login to post a comment