theonion/videojs-vast-plugin

Prefetching / Availability

Opened this issue · 0 comments

I do have a case in which it is necessary to know whether the VAST tag is empty or not, before displaying the player at all.
I am building a rotation system including non-VAST delivery. If VAST tags are not available, I want to be able to react on JavaScript side.

This led me to change the videojs-vast-plugin code, by overwriting the events defined in videojs.vast.js:
'vast-ready', 'vast-preroll-ready', 'vast-preroll-removed', 'contentupdate', 'readyforpreroll'

Are there any plans to include VAST prefetch with callback as a functionality?

Tanks in advance!