Ad Scheduling
Schedule VAST / IMA / VPAID ads at your desired time
This demo showcases the Bitmovin Player’s ad insertion capabilities. The player can be used with different advertising standards, namely VAST, VPAID, IMA and VMAP. Simply schedule your ads at different times of the video by choosing an advertisement standard and providing the link to the ad tag in the text area. Use the “schedule ads” button to insert the ad, and the “reset configuration” button to clear previous scheduled ads.
This demo has a pre-roll ad scheduled by default. If you do not want to see these ads, reset the configuration before playing the video.
Schedule an ad during playback
Use the Bitmovin Player’s API to schedule ads during playback:
let adType = document.getElementById('adType').value;
let manifestUrl = document.getElementById('ad-server-url').value;
let schedule = document.getElementById('schedule-list').value;
player.ads.schedule({
tag: {
url: manifestUrl,
type: adType
},
id: 'Ad',
position: schedule
});