Is there a plugin for VPAID support for video.js?

7k Views Asked by At

Is there a plugin for VPAID support for video.js? I tried the video.js VAST plugin, but it doesn't support netsonic or Liverail VPAID into the VAST wrapper.

3

There are 3 best solutions below

0
On

I'm currently working in a plugin for video.js for adding support to VPAID: https://github.com/MailOnline/videojs-vast-vpaid

demo: http://mailonline.github.io/videojs-vast-vpaid/

if someone has some issues with the FLASH VPAID please report here: https://github.com/MailOnline/VPAIDFLASHClient

if someone has some issues with the HTML5 VPAID please report here: https://github.com/MailOnline/VPAIDHTML5Client

1
On

Just looking for the same: VPAID & VAST standard

At this time it seems that there's no solution for this. Sad, because videojs is so feature complete.

Just stumbled upon another player: http://www.hdflvplayer.net/

This player seems to support VPAID.

1
On

There's a plugin available, called videojs-ima, developed by Google. In fact it's just a bridge between video.js and IMA sdk. Introduction page states it supports VAST 2, VAST 3, VPAID and VMAP.

VPAID support

VPAID support is turned off by default. If you want to enable it just call google.ima.settings.setVpaidAllowed(true) before initializing plugin. Here's an example:

var player = videojs('video-player');
//...
google.ima.settings.setVpaidAllowed(true);
//...
player.ima({
    debug: config['debug'],
    adTagUrl: 'Ad tag here',
    id: 'video-player'
});

Definitely check VPAID support caveats and more info about VPAID support for IMA HTML5 SDK

Browser support

Surprisingly IMA HTML5 SDK do not support IE of any versions. Just found out it's deep in documentation

Note

IMA heavily relies on google services and logs all the activity of ima and VPAID to google servers. If you don't want to share your data with Google better try something different.