💡 We offer VAST ads as XML, also referred to as 'ad tag', that can be added to any compatible player. The code looks as follows:
It is always available on the Websites page once approved.
The exact steps will vary depending on your player, so please make sure to refer to the documentation.
Brightcove
Brightcove has a CMS where you can add the ad tag in the Advertising section:
Open your player's properties and click 'Advertising'
Check 'Enable Client-Side (IMA)' and paste the XML ad tag from the Websites page
Click Save
Click Publish & Embed > Publish Changes
Full article is available here.
Brid.TV
Brid.TV allows you to add an XML ad tag via CMS:
Navigate to your PLAYERS section in Brid
Select any of your players by clicking on its title
Select the MONETIZATION dropdown
Make sure that the monetizable checkbox is checked
Click on the ADD PRE-ROLL button
Enter an Ad tag URL which returns a valid VAST or VPAID ad response
Press SAVE
JW Player
Adding VAST ads to JW Player comprises 2 steps: adding an ad schedule and enabling advertisement
Creating an Ad Schedule
Click Ad Schedules > Create Ad Schedule. The Ad Schedule screen appears
Enter a name for the ad schedule
In the Select Your Ad Manager section, tick VAST
In the Configure Ad Breaks section, click the + icon to create a Preroll, Midroll, or Postroll ad break
In the text box, enter the URL of the ad tag
Click SAVE
This done, enable advertising for your player:
Navigate to Players
Click on your player and open 'Advertising'
Toggle Advertising on and select the VAST schedule you created
Click Save
Video.js
Video.js player requires the videojs-vast-plugin available in this github repo.
You need to add the supporting Javascript files and CSS.
<link href="videojs.vast.css" rel="stylesheet" type="text/css">
<script src="vast-client.js"></script>
<script src="video.ads.js"></script>
<script src="videojs.vast.js"></script>
Then in your player configuration, specify where your VAST file is:
plugins: {
ads: {},
vast: {
url: 'https://www.videosprofitnetwork.com/watch.xml?key=your_unique_key'
}
}