The Vast-Pro plugin accepts preroll VAST linear ad or non-standard ad. Vast ad pods (multiple ad videos playing one by one) are allowed. Ad-waterfalling for VAST is supported as well.
By default oustream ad is muted. Ad video will play automatically if only the player is in viewport. Playback is paused when the player goes out of the viewport.
The user can decide if the player should be muted or with the sound (if the browser allows it). The user can decide if the big Unmute
button should be displayed. Close Ad
button (if enabled in plugin's options) removes the player and each empty parent element from website page. Finally, the user can order to close ad and remove the player automatically when ad(s) playback is finished.
Outstream ad player mainly appears inside text-based content, like articles. However, there is no limit for the player size and position. Can be a full-size player, floated or centered inside article, fixed to one of page corners, etc.
// Setup video element without source(s)<video id="outstream_player" class="video-js" controls playsinline width="640" height="360">// Load skin css if not loaded before<link href="//www.domain.com/videojs/skins/nuevo/videojs.min.css" rel="stylesheet">// Load javascripts if not loaded before<link href="//www.domain.com/videojs/videojs.min.css" rel="stylesheet"><link href="//www.domain.com/videojs/plugins/vastpro.js" rel="stylesheet">// Initialize player and vastpro plugin<script>player.videojs("outstream_player");player.vastAds ({tagURL: "vast-ad-tag-url"} , {closeButton:true})</script>
player.vastAds ({ ads: [{ media: {src:"video-source-url.mp4",type:"video/mp4"},clickthrough: "ad-click-url"id: "ad-unique-id",trackingUrl: "tracking-script-url"}]}, {closeButton:true})</script>
player.vastAds ({tagURL: "vast-ad-tag-url"} , {closeButton:true,muteIcon:false,autoClose:true})