What are you trying to do with that plugin? You might be able to accomplish it in a simpler way. My plugin already adds a watermark overlay. Maybe you just need to customize that.
the plugin allows for HTML and images to be overlaid on the video, i’m trying to create something like adsense does with popup advertising.
Ok, well this isn’t going to be particularly easy. I really can’t walk you through the whole process because I’ve never used that plugin, but I can give you some ideas. You may have seen this thread already https://wordpress.org/support/topic/inline-video-ads?replies=7
Upload the videojs-overlay.js and video-overlay.css files to your server. Edit the main file for my plugin to add the .js file to the footer by adding a wp_enqueue_script
call after this line: wp_enqueue_script( 'video-js', plugins_url("", __FILE__).'/video-js/video.js', '', '4.10.2', true );
You’ll have to point it to where the file is on your server. Add a wp_enqueue_style for the .css file after this line: wp_enqueue_style( 'video-js-kg-skin', plugins_url("", __FILE__).'/video-js/kg-video-js-skin.css', '', $options['version'] );
Then you’ll have to figure out a way to load your own custom JS when the page loads to initialize the overlay plugin and do whatever you want to do with it.
Yup i got the css and js included, i’m thinking i can modify where the shortcode is created and add the params for the overlay plugin to work. thanks for your time and your awesome plugin.