During ads playback, the player continues using the main video option, so if the video has autoplay option or loop option, the midroll will start as a preroll, and loop.
Would be awesome if i could set default options for ads playing, ignoring the main ones.
Steps to Reproduce
Set autoplay: true and loop: true in the videojs option.
Versions
videojs-contrib-ads version: 6.6.5
Video-js version: 7.6.3
Other plugins:
videojs-ad-scheduler - v0.1.0
vast-client.js
vmap-client.js
Description
During ads playback, the player continues using the main video option, so if the video has autoplay option or loop option, the midroll will start as a preroll, and loop. Would be awesome if i could set default options for ads playing, ignoring the main ones.
Steps to Reproduce
Set
autoplay: true
andloop: true
in the videojs option.Versions
videojs-contrib-ads version: 6.6.5
Video-js version: 7.6.3
Other plugins: videojs-ad-scheduler - v0.1.0 vast-client.js vmap-client.js
Platforms
Browsers: eg. Chrome v77
OS/Devices: eg. MacOS 10.14.6