Zu den beiden JS-Extensions (getrennt durch --- gestrichelte Linie): Die Videowall braucht zwei Extensions (Video und Billboard) und man muss in einer der Extensions (Billboard) die Placement-ID oder die Creative-ID des anderen Ads (Videos) einfügen.
// stroer videowall (videowall) [generic]
(function(o) {
o.mayExpand = true;
o.attachtobody = true;
o.adType = "videowall";
o.baggyFrameLimit = 5000000;
o.stroervideowall = {
init: function() {
o.addEventListener("adonpage", function() {
var p = o.stroervideowall,
addiv = o.$(o.divID);
addiv.style.zIndex = "-10";
});
o.addEventListener("start", function() {
this.customPos = true;
this.customPosFunc = function() {
var o = this,
addiv = o.$(o.divID),
frame = o.$(o.frameID);
o.$().style.top = 0 + "px";
o.$().style.left = 0 + "px";
addiv.style.position = "fixed";
addiv.style.width = frame.style.width = "100%";
addiv.style.height = frame.style.height = "100%";
};
});
}()
};
o.receiveMethod.end = function() {
var videowall = o.$(o.divID);
videowall.style.zIndex = -10;
};
o.contract = function(){
//escape contract
};
})(ft[%pID%]);
/* -----------------------------------------------------------------------------------------------------------------------*/
// stroer videowall (billboard)
(function(o) {
var placement_id = "2053882", // hier bitte die Placement ID der Videowall eintragen
videowall_ftdivid = "#ftdiv" + placement_id;
o.receiveMethod.start = function() {
var vw = document.querySelector(videowall_ftdivid);
vw.style.zIndex = 1000000;
};
})(ft[%pID%]);