Home Uncategorized
28
0
SHARE

var vpaidFrame = document.createElement('iframe'); vpaidFrame.id = lkqdSettings.lkqdId; vpaidFrame.name = lkqdSettings.lkqdId; vpaidFrame.style.display = 'none'; var vpaidFrameLoaded = function() { vpaidFrame.contentWindow.addEventListener('lkqdFormatsLoad', function() { lkqdVPAID = vpaidFrame.contentWindow.getVPAIDAd(); onVPAIDLoad(); lkqdVPAID.handshakeVersion('2.0'); lkqdVPAID.initAd(lkqdSettings.playerWidth, lkqdSettings.playerHeight, 'normal', 600, creativeData, environmentVars); }); vpaidLoader = vpaidFrame.contentWindow.document.createElement('script'); vpaidLoader.setAttribute('async','async'); vpaidLoader.src = 'https://ad.lkqd.net/vpaid/formats.js'; vpaidFrame.contentWindow.document.body.appendChild(vpaidLoader); }; vpaidFrame.onload = vpaidFrameLoaded; vpaidFrame.onerror = vpaidFrameLoaded; document.documentElement.appendChild(vpaidFrame); })();

If you have any problems viewing this article, please report it here.

LEAVE A REPLY

Please enter your comment!
Please enter your name here