This feature can be used as follows:
// required parameters: brand: "agnoplay", videoId: "Mbdskc9KsAii", url: window.location.href, ... // add the following: adtimeout: 5000 // or "off", or 1000, 2000, 3000, 4000, 6000, 7000 (ms)
This feature throws an
adtimeout event when an advertisement is not loaded in time in between the
adloaded (thrown when VAST response has been received) event and the
adbegin event (these events are the first events thrown by the player). This can be used when you would like to give the user a better experience when an advertisement doesn't load in time.
In the configuration you can also define the preroll timeout settings for AgnoPlayer which is based on the videojs-contrib-ads library for video.js, please read the
prerollTimeout definitions to understand the behaviour.