An outstream player is used to show video ads exclusively and requires no regular content in between ad breaks. This PR enhances contrib-ads by introducing a new set of states to allow for 'outstream' players (ad only).
Changes introduced
Three new states for players in 'outstream' mode (ad only).
OutstreamPending -> OutstreamPlayback -> OutstreamDone
A new playerMode option that can be used to toggle outstream mode
A 0ms mp4 video file is added as a source for the player if it is in outstream mode (to enable the ad plugin to request and play the ad tag)
Description
An outstream player is used to show video ads exclusively and requires no regular content in between ad breaks. This PR enhances contrib-ads by introducing a new set of states to allow for 'outstream' players (ad only).
Changes introduced
playerMode
option that can be used to toggleoutstream
mode