Hi everyone,
quick question I could not find on the forum:
If I would like to rename DIV in hype, due to a usage of an API where would I do this?
For instance, the video element in HTML would need to be named into: <ft-video>
and not <video>
.
API reference:
https://flashtalkingsupport.zendesk.com/hc/en-us/articles/115005585687-Building-a-Video-Ad
Maybe we could build a template so more people in Europe could use this template. Flashtalking (FT) is growing in the EU.
I usually use this to make the Hype banners work in the FT Ad-Servers:
<script src="//cdn.flashtalking.com/frameworks/js/api/2/10/html5API.js"></script>
<script>
// Subload is dispatched from the JS templates when it is appropriate to begin loading larger resources.
// As per the IAB Display Creative Guidelines, this event is dispatched
// no sooner than one second after the host page's DOMContentLoaded event is dispatched.
myFT.on('subload', function () {
var script = document.createElement('script');
script.src = '300x600_kiue_barbie_ft_sb.hyperesources/300x600kiuebarbieftsb_hype_generated_script.js';
document.getElementsByTagName('head')[0].appendChild(script);
});
</script>
<!-- rename the main div to ft-default--> <ft-default clicktag="1" id="300x600kiuebarbieftsb_hype_container" style="margin:auto;position:relative;width:100%;height:100%;overflow:hidden;"><!-- disable main hype script here --></ft-default>