I am trying to integrate google IMA SDK:
https://developers.google.com/interacti ... try-it-out
how can make this function work?
function createAdDisplayContainer() { // We assume the adContainer is the DOM id of the element that will house // the ads. adDisplayContainer = new google.ima.AdDisplayContainer( document.getElementById('adContainer'), videoContent); //document.getElementById('div'), videoContent); }[/code:2my0gjj2]
Here is the code to create a div in my youtube plugin.
And here is the code to create google youtube object with that div element.
You could also find the sample code of creating html element in official textbox plugin.
thanks
Develop games in your browser. Powerful, performant & highly capable.
Hey, Did you find a way to integrate ima sdk with construct Html5 games?
If yes, please help me.