Video Player Embed Documentation
We currently support 4 different methods for embedding our interactive video player.
- iFrame (preferred method)
- Script
- VAST
- Object tag
Each block of code is easily to generate in the Publish properties dialog in the Network tool.
iFrame embed code
The simplest option, the video will size to 100% of the iFrame width and height. So you can easily adjust the sizing in the iFrame's properties to fit your website's design
In the near future we will be releasing an HTML5 video player which serve alternative interactive content for mobile devices.
With this method you can also append your own Analytics Account ID into the iFrame.
Required variables
- Integer v
The unique video identifier. - Integer t
The unique theme identifier (default = 1).
Optional variables
- String trackTAG
If set the embed code will load the track tag URL as a tracking pixel. This is used for impression tracking. - String clickTAG
Sent through to the Flash player as a Flashvar for traditional click tracking, on the first interaction with the loaded video. - String click_ref
Your campaigns unique tracking click reference.
Optional Google Analytics variables Beta
- String analyticsUA
Your unique Google Analytics Account ID - String utm_medium
Use utm_medium to identify a medium such as email or cost-per- click. - String utm_campaign
Use utm_campaign to identify a specific product promotion or strategic campaign. - String utm_term
Use utm_term to note the keywords for this ad. - String utm_content
Used for A/B testing and content-targeted ads. Use utm_content to differentiate between ads or links that point to the same URL.
You can use the Google link builder tool to generate your campaigns code.
Example code
Script embed
This replaces standard Flash Embed Object code and uses SWFObject to detect the Flash Player version of the browser. The iFrame also uses this script for it's logic to build the player within the frame, but with this method we expose the script. Many front end developers aren't keen to use iFrame solutions within their lovely code so this method will suit them!
Required variables
- Integer v
The unique video identifier. - Integer t
The unique theme identifier (default = 1).
Optional variables
- Integer w
The width of the player. If empty the width will default to 100% - Integer h
The height of the player. If empty the height will default to 100% - String dom_id
The unique DOM id to replace within the HTML. This is very important if you want the video to replace a specific content area within the page. Otherwise the script currently uses Document.write to append it's self to the DOM. - String trackTAG
If set the embed code will load the track tag URL as a tracking pixel. This is used for impression tracking. - String clickTAG
Sent through to the Flash player as a Flashvar for traditional click tracking, on the first interaction with the loaded video. - String click_ref
Your campaigns unique tracking click reference.
Example code
VAST Feed
Every one of our videos supports the VAST format for rich media ads. To get the feed for the video simply choose the VAST option in the Embed Code screen of Publish Properties. Below is a VAST URL address to the video video #3473.
Example code
http://network.coull.com/api/open/getvideobyid?id=3473&format=vast
Object
We offer this option as a fallback for scenarios where iFrame and Script tags won't work, such as 3rd party networks. If you really need to use this format please get in touch with our support team to see if we can offer an alternative solution.