An outstream video ad is a video ad without content following it. Only the ad is displayed to the viewer. Outstream video ads are a great way to boost your ad revenues, especially on pages without dedicated video content. Outstream ads are supported in the same way by all three video ad systems designed by Nuevodevel.com.
const player = videojs("my_player_id", {license: "license-key"});
player.nuevo({oustream:true});
player.vroll({src:"//preroll-video.mp4", type:"video/mp4", href:"//click-url"});
The outstream ad player features "Visit mode" option. In this mode visit button is displayed in the right side of the control bar and video is paused/played when clicked or touched.
player.nuevo({oustream:true, visitMode:true});
If you prefer the control bar to be permanently displayed, you can set appropriate "barOptions" parameter.
player.nuevo({oustream:true, barOptions:'always'});
Outstream ad player features Close icon in the top-right corner of the player. When you click it, the player is removed from the document.
By default, the close icon is present from the beginning of video playback. You can also order to display it once the video is finished or hide it completely.
player.nuevo({oustream:true, outstreamClose:"end"});
Or
player.nuevo({oustream:true; outstreamClose:"none"});