Show a Video Ad in The Ooyala Player

This page is an example of using Prebid Video with a specific player. For a general guide to showing video ads with Prebid.js, see Show Video Ads with DFP.

This page contains:

  • Including the correct scripts on the page. A guide can be found at Player V4 Plugins.
  • Using the Ooyala v4 player API.
  • Using Ooyala's Google IMA plugin.
  • Passing a VAST tag to the Ooyala player.

Player-specific notes

  • This guide uses the V4 Ooyala player. To get the embed code for the V4 player, select New Ooyala Player (V4) Embed Code in the embed options instead of HTML Embed Code.
  • Do not select an ad set in the 'Monetize' tab. We'll control that setting on the page (see example code below).

Examples

Click here to view a demo page with this example.

Click Edit in JSFiddle (below) to open the example in a new tab.

Troubleshooting Common Issues

For tips and troublshooting info, see: