Show a Video Ad with the Kaltura 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:
invokeVideoPlayerto set up and access the Kaltura player instance.
- Using the Dynamic Embed integration method with the Kaltura player.
- In Kaltura Studio, enable the advertising plugin you want to use. For this demo we'll be using the VAST 3.0 plugin.
- We'll be using the Dynamic Embed method to add the player to the page. We need to customize the player on the page, so the auto embed method will not work.
- To find the Dynamic Embed code for your player, go to the content tab in Kaltura Studio and select the Preview and Embed action. Click Show Advanced Options to see more embedding options, and select Dynamic Embed from the dropdown menu.
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: