This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // video DOM inside creative | |
| //<div id="videoContainer"> | |
| // <video id="videoContainer"></video> | |
| //</div> | |
| // load IMA SDK at init load time | |
| $.getScript('//imasdk.googleapis.com/js/sdkloader/ima3.js'); | |
| // usage: startVideo( /* vast tag url */ ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.truex.placements.extensions | |
| { | |
| import flash.display.Sprite; | |
| import flash.external.ExternalInterface; | |
| import flash.system.Security; | |
| import flash.utils.setTimeout; | |
| import tv.freewheel.ad.behavior.IAdManager; | |
| import tv.freewheel.ad.behavior.IConstants; | |
| import tv.freewheel.ad.behavior.IEvent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.truex.placements.extensions | |
| { | |
| import com.adobe.serialization.json.JSONEncoder; | |
| import com.truex.placements.vpaid.VPAIDLoader; | |
| import flash.display.Sprite; | |
| import flash.events.Event; | |
| import flash.external.ExternalInterface; | |
| import flash.system.Security; | |
| import flash.utils.setTimeout; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package | |
| { | |
| import com.google.ads.ima.api.AdErrorEvent; | |
| import com.google.ads.ima.api.AdEvent; | |
| import com.google.ads.ima.api.AdsLoader; | |
| import com.google.ads.ima.api.AdsManager; | |
| import com.google.ads.ima.api.AdsManagerLoadedEvent; | |
| import com.google.ads.ima.api.AdsRenderingSettings; | |
| import com.google.ads.ima.api.AdsRequest; | |
| import com.google.ads.ima.api.ViewModes; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TXM.creative = { | |
| _engagement: null, | |
| _images: {}, | |
| _loadedAssets: 0, | |
| _totalAssets: 0, | |
| init: function() { | |
| TXM.dispatcher.dispatchEvent('INTERACTIVE_ASSET_LOADED'); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TXM.studio.ElementFactory = { | |
| createElement: function(config) { | |
| var element = null; | |
| switch (config.type) { | |
| case 'Image': | |
| element = $('<img>'); | |
| element.attr('src', config.image_url); | |
| break; | |
| case 'Button': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.truex.placements.extensions | |
| { | |
| import com.truex.placements.vpaid.VPAIDLoader; | |
| import flash.display.Sprite; | |
| import flash.events.Event; | |
| import flash.system.Security; | |
| import tv.freewheel.ad.behavior.IConstants; | |
| import tv.freewheel.ad.behavior.IRenderer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.socialvibe.modules.logic | |
| { | |
| import com.adobe.serialization.json.JSONDecoder; | |
| import com.greensock.TweenLite; | |
| import com.greensock.easing.Elastic; | |
| import com.greensock.easing.Expo; | |
| import com.greensock.easing.Quad; | |
| import com.socialvibe.core.ui.controls.SVButton; | |
| import com.socialvibe.core.ui.controls.SVImage; | |
| import com.socialvibe.core.ui.controls.SVImageButton; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TXM.dispatcher.addEventListener('START_ENGAGEMENT', function() { | |
| TXM.params.celtraCorrectionId = setInterval(correctZIndex, 200); | |
| var celtraDiv = document.createElement('div'); | |
| document.body.appendChild(celtraDiv); | |
| celtraDiv.className = 'celtra-ad-v3'; | |
| var celtraImg = document.createElement('img'); |
NewerOlder