![]() params: Object is an optional object representing various parameters that can be passed to a rmp-vast instance and that will affect the player inner-workings.id: String is the id for the player container. ![]() Once rmp-vast is loaded on your page you can create a new rmp-vast instance as follows: Parameters when creating a rmp-vast instance Code comments should be available at key points to better understand rmp-vast inner workings. Source code for rmp-vast is available for review in. dist/rmp-vast.js insteadīack to documentation sections Parameters, API events and methods If you want those logs for debugging purposes please use. Rmp-vast compiled library (./dist/) does not print any log to the console. Radiant Media Player supports Google IMA HTML5 SDK and is a certified Google's video technology partner. When serving ads from Google Ads network (DFP, ADX, AdSense for Video) you should use Google IMA HTML5 SDK. Refer to this Google documentation for more information.īack to documentation sections Video ads from Google Ads network and rmp-vast Hence proper CORS configuration is required on your ad-server in order for rmp-vast to be able to retrieve VAST tags. Rmp-vast uses JavaScript XMLHttpRequests to load VAST tags. loadAds ( adTag ) īack to documentation sections CORS requirements our VAST tag to be displayed const adTag = "" const id = "rmp" const params = // create RmpVast instance const rmpVast = new RmpVast ( id, params ) // call loadAds - this will start the ad loading process, display the ad and resume content automatically // in this case we use autoplay rmpVast. First we add rmp-vast library (./dist/) on our page - in for example. ![]() This means a web-page with a valid HTML5 DOCTYPE and other elements that are commonly available in today's web. You must use rmp-vast in a well-formed HTML document.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |