For publishers using Video.js video players, the Watching That player plugin can be loaded using the following 2 script tags. The script tags must be added to every page with a video player, either via your CMS or manually:
The ClientId and ClientSecret values as above, will provided by Watching That once your account has been set up and activated.
For ad support in Video.js, you might need extra 3rd party plugins:
- One for managing the lifecycle of ads, handling errors, switching from the ad to the content, triggering the proper events (like ad starting, ad 50% through, ad ended, etc)
- One for setting up the ads, “telling” videojs what to play in an ad slot and communicating with DFP
Your tech stack might differ from what we’re using in these examples, or you might have your own custom solution. In any case, our VideoJS plugin is just listening for events on the player, so it should be compatible with anything you have.
A demo of a player page can be viewed here.
Contact us for more information on how to implement Watching That into your video players.