I'm trying to figure out how to add a pre-roll or VAST ads plugin into my VideoJS player but don't know how. I know there has to be files uploaded to my server to be called but I can't find them and the documentation in the plugin below is very vague. Also, does script code need to be placed in the head of my site?
I would greatly appreciate it if someone can show step by step instructions on how to add this plugin to my VideoJs player as well as what files need to be added to my server: http://theonion.github.io/videojs-vast-plugin/
Thank You
There github repo is pretty clear on this. I'll walk you through this anyways.
You need to add the supporting Javascript files and CSS.
Then in your player configuration you have to tell the plugin where your VAST file is:
They have a nice example in github as well: https://github.com/theonion/videojs-vast-plugin/blob/master/example.html