JW6 Integration Customization


To be able to target the ads to different keywords in Pulse Campaign Manager, the ad player must be informed about these keywords. It can be done in two ways, either separate from each other or combined together:
  1. vpTags flashvar: vpTags: "tag1,tag2,tag3,tag4"
  2. XML Config file:
    </plugins> <vp_plugin.vphost>http://vp-validation.videoplaza.tv</vp_plugin.vphost>

Tags added to the vpTags flashvar will act as global tags for this player/session and should only be used for static keywords or players without playlists.

Tags added to an item in the playlist xml will act as local tags for that particular item.

For example, setting "mysite.com,sport" in the vpTags flashvar and "football,finals" on playlist item #1, will let Pulse know that this content has the tags: mysite.com, sport, football, and finals.

Mid-roll Ad Breaks

Mid-roll ad breaks are defined by either adding cue points to the media file's metadata, or by specifying them in as flashvars. For example, to trigger mid-roll ad breaks at seconds 30, 60 and 120 seconds: cuePoints: '30,60,120'.

Additional Configuration Parameters

Consult the Flashvars article for additional configuration parameters.

Using other JW Player plugins

Please be advised that the use of other plugins in combination with this Pulse plugin is made at your own risk. We do not test our plugin against other JW Player plugins, so there is always a chance that things like visual elements or events listeners could interfere with the user experience.

Always test your player and plugins before putting them into production, and don't hesitate to contact us if you are unsure whether a given combination of plugins will work correctly or not.

JavaScript Support

Note: Due to a limitation in the Internet Explorer browser family, we require all embedded Flash players to include an object ID to enable our Flash plugin to communicate with our JavaScript API. Additionally, you should set the object param "allowScriptAccess" with the value "always".

For example:

<object id="flashObj" width="480" height="270">
    <param name="bgcolor" value="#FFFFFF" />
    <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="always" />
    <embed src="..." bgcolor="#FFFFFF" .../>

Example customization

<script type="text/javascript">
        primary: 'flash',
        height: 270,
        width: 480,
        controlbar: 'over',
        file: "http://cdn.videoplaza.tv/resources/media/more_like_trees_640x360.mp4",
        image: 'http://demo.videoplaza.com/plugins/resources/jw/moreLikeTrees.jpg',
          vphost: 'http://vp-validation.videoplaza.tv',
          cuepoints: '10,20',
          vptags: 'standard',
          vpcategory: 'validation'