Watching That Plugin – Video.js Implementation Guide

Plugin Implementation – Video.js 2018-10-03T12:15:17+00:00

Plugin

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.

Ad Support

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.

Demo

A demo of a player page can be viewed here.

The demo here is built with videojs-contrib-ads and videojs-ima.

More Information

Contact us for more information on how to implement Watching That into your video players.