Allows you to define which ads you want to display and when you want to display them. In order to play ads on your website, you need to specify an ad config.
Google Cast configuration.
The DRM object should be included in the source object.
A list of callback functions for events. Events can also be dynamically added and removed through PlayerAPI.addEventHandler and PlayerAPI.removeEventHandler.
Example:
events: {
onReady: function(data) {
console.log('version: ' + this.getVersion() + ', onReady Event data: ', data);
},
onPlay: function(data) {
// do awesome stuff
},
onError: function(data) {
console.error('An error occurred:', data);
}
}
Mandatory. A personal key can be found in the bitmovin portal and should be specified here. Do not forget to enter all your domains (subdomains are included) in your account.
Licensing configuration.
This can be used to specify custom paths to bitmovinplayer.swf, bitmovinplayer-core.min.js, and bitmovinplayer-core.min.css instead of having all files in the same folder.
Can be use to fine tune logging of the player.
Network configuration.
Playback config settings.
Remote control configuration (e.g. Chromecast)
Mandatory. Contains information to the video source, e.g. dash, hls, progressive fallback.
UX/UI config settings.
Tweaks. Use these values only if you know what you are doing.
Generated using TypeDoc
Configures the adaptation logic.