All ad management is done over at vastvids. In order to complete integration you would need to create a vastvids account to recieve API keys. Once you recieve your API keys you may continue with this integration. You will also recieve analytics and payouts over at vastvids.
Users will get paid $0.03 for every ad view they recieve. Ad views are only counted when a video ad plays to the end. All ads are skippable ads.
include the following code in your html head
tag.
Include the following code in your html body
. Set the values of the chance_of_ad & apiKey. Your apiKey is found in your Settings > Admin Dashboard > Account > API Credentials over at vastvids.
You can also customize the colors of the video player to match your color scheme.
If your using ajax to load new video players, you will need to call the load_vastvp_js_ad() function to refresh the video players javascript. Just include the following script in the HTML page that is being loaded through ajax.
There you go! your set to go.