Preload VoD
Enable users to instantly start watching their content without buffering or waiting
This demo showcases how you can pre-load video content. Preload is enabled by default by the player.
Preload
No Preload
Start up time: 0ms
Buffer rate:
Start up time: 0ms
Buffer rate:
- Works with both HLS and DASH streams
- Set property
preload
- Manifest is loaded when adding the source
setup.js
js
/* Preload is enabled by default, but it can be enabled explicitly by setting preload to true. */
const conf = {
key: '<YOUR PLAYER KEY>',
adaptation: {
desktop: {
preload: true
},
mobile: {
preload: true
}
}
};
var playerContainer = document.getElementById('player-container');
var player = new bitmovin.player.Player(playerContainer, conf);