Reklaam sulgub sekundi pärast

", [1398,200], "ad-desktop-sitehat") .setTargeting('test', 'infinitescroll') .addService(googletag.pubads()) googletag.enableServices(); googletag.display('ad-desktop-sitehat'); googletag.pubads().addEventListener('slotRenderEnded', event => { const adUnitPath = event.slot.getAdUnitPath(); const slotId = event.slot.getSlotElementId(); const isAdEmpty = event.isEmpty; if (adUnitPath.includes('Sitehat1398x200')) { return; } const fullscreenSearchTerms = ['Mobile-Fullscreen', 'Desktop-Fullscreen']; const isFullscreenAd = fullscreenSearchTerms.some(term => adUnitPath.includes(term)) && !isAdEmpty; if (event.slot === slot) { const ad = document.querySelector('#ad-desktop-sitehat'); if (!ad || !event.size) { return; } iframe = ad.querySelector('iframe'); var closestParent = iframe.closest('.card--advertising, .advertising') || ad; var parentWidth = closestParent.offsetWidth; var parentHeight = closestParent.offsetHeight; const elementWidth = event.size[0]; const elementHeight = event.size[1]; const parentElement = iframe.parentElement; // const parentElement = iframe.closest('.card--advertising'); if (parentElement) { parentElement.style.width = iframe.width + 'px'; } const blockWidth = parentWidth; const blockHeight = parentHeight; const scaleW = blockWidth / elementWidth; const scaleH = blockHeight / elementHeight; if (iframe && iframe.style && scaleW > 0 && (scaleW < 1 || scaleH < 1)) { iframe.style.transform = 'scale(' + scaleW + ')'; iframe.style.transformOrigin = 'left center'; const iframeHeight = iframe.height * scaleW; iframe.parentElement.style.height = iframeHeight + 'px'; iframe.style.transformOrigin = 'left top'; if (isFullscreenAd) { iframe.style.transformOrigin = 'left center'; } } } if (isFullscreenAd) { let checkInterval = setInterval(() => { if (window.estpress && window.estpress.ads) { const fullscreenAd = window.estpress.ads.find(ad => ad.fullscreen === true); if (fullscreenAd) { fullscreenAd.addLoadedClass(event); } clearInterval(checkInterval); } }, 100); } }); googletag.pubads().refresh([slot]); }); }

Eesti otsib superstaari esitused

toob teieni Kooker

", [[486,115],[662,157]], "ad-billboard-desktop-118559") .setTargeting('test', 'infinitescroll') .addService(googletag.pubads()) googletag.enableServices(); googletag.display('ad-billboard-desktop-118559'); googletag.pubads().addEventListener('slotRenderEnded', event => { const adUnitPath = event.slot.getAdUnitPath(); const slotId = event.slot.getSlotElementId(); const isAdEmpty = event.isEmpty; if (adUnitPath.includes('Sitehat1398x200')) { return; } const fullscreenSearchTerms = ['Mobile-Fullscreen', 'Desktop-Fullscreen']; const isFullscreenAd = fullscreenSearchTerms.some(term => adUnitPath.includes(term)) && !isAdEmpty; if (event.slot === slot) { const ad = document.querySelector('#ad-billboard-desktop-118559'); if (!ad || !event.size) { return; } iframe = ad.querySelector('iframe'); var closestParent = iframe.closest('.card--advertising, .advertising') || ad; var parentWidth = closestParent.offsetWidth; var parentHeight = closestParent.offsetHeight; const elementWidth = event.size[0]; const elementHeight = event.size[1]; const parentElement = iframe.parentElement; // const parentElement = iframe.closest('.card--advertising'); if (parentElement) { parentElement.style.width = iframe.width + 'px'; } const blockWidth = parentWidth; const blockHeight = parentHeight; const scaleW = blockWidth / elementWidth; const scaleH = blockHeight / elementHeight; if (iframe && iframe.style && scaleW > 0 && (scaleW < 1 || scaleH < 1)) { iframe.style.transform = 'scale(' + scaleW + ')'; iframe.style.transformOrigin = 'left center'; const iframeHeight = iframe.height * scaleW; iframe.parentElement.style.height = iframeHeight + 'px'; iframe.style.transformOrigin = 'left top'; if (isFullscreenAd) { iframe.style.transformOrigin = 'left center'; } } } if (isFullscreenAd) { let checkInterval = setInterval(() => { if (window.estpress && window.estpress.ads) { const fullscreenAd = window.estpress.ads.find(ad => ad.fullscreen === true); if (fullscreenAd) { fullscreenAd.addLoadedClass(event); } clearInterval(checkInterval); } }, 100); } }); googletag.pubads().refresh([slot]); }); }
", [276,226], "ad-billboard-mobile-476555") .setTargeting('test', 'infinitescroll') .addService(googletag.pubads()) googletag.enableServices(); googletag.display('ad-billboard-mobile-476555'); googletag.pubads().addEventListener('slotRenderEnded', event => { const adUnitPath = event.slot.getAdUnitPath(); const slotId = event.slot.getSlotElementId(); const isAdEmpty = event.isEmpty; if (adUnitPath.includes('Sitehat1398x200')) { return; } const fullscreenSearchTerms = ['Mobile-Fullscreen', 'Desktop-Fullscreen']; const isFullscreenAd = fullscreenSearchTerms.some(term => adUnitPath.includes(term)) && !isAdEmpty; if (event.slot === slot) { const ad = document.querySelector('#ad-billboard-mobile-476555'); if (!ad || !event.size) { return; } iframe = ad.querySelector('iframe'); var closestParent = iframe.closest('.card--advertising, .advertising') || ad; var parentWidth = closestParent.offsetWidth; var parentHeight = closestParent.offsetHeight; const elementWidth = event.size[0]; const elementHeight = event.size[1]; const parentElement = iframe.parentElement; // const parentElement = iframe.closest('.card--advertising'); if (parentElement) { parentElement.style.width = iframe.width + 'px'; } const blockWidth = parentWidth; const blockHeight = parentHeight; const scaleW = blockWidth / elementWidth; const scaleH = blockHeight / elementHeight; if (iframe && iframe.style && scaleW > 0 && (scaleW < 1 || scaleH < 1)) { iframe.style.transform = 'scale(' + scaleW + ')'; iframe.style.transformOrigin = 'left center'; const iframeHeight = iframe.height * scaleW; iframe.parentElement.style.height = iframeHeight + 'px'; iframe.style.transformOrigin = 'left top'; if (isFullscreenAd) { iframe.style.transformOrigin = 'left center'; } } } if (isFullscreenAd) { let checkInterval = setInterval(() => { if (window.estpress && window.estpress.ads) { const fullscreenAd = window.estpress.ads.find(ad => ad.fullscreen === true); if (fullscreenAd) { fullscreenAd.addLoadedClass(event); } clearInterval(checkInterval); } }, 100); } }); googletag.pubads().refresh([slot]); }); }

VAATA UUESTI: Margareth Mürk – “Rather Be”

Neljandana astus "Eesti otsib superstaari" saates üles Margareth Mürk, kes esitas loo "Rather Be".

Eesti otsib superstaari esitused

toob teieni Kooker

", [[486,115],[662,157]], "ad-billboard-desktop-540286") .setTargeting('test', 'infinitescroll') .addService(googletag.pubads()) googletag.enableServices(); googletag.display('ad-billboard-desktop-540286'); googletag.pubads().addEventListener('slotRenderEnded', event => { const adUnitPath = event.slot.getAdUnitPath(); const slotId = event.slot.getSlotElementId(); const isAdEmpty = event.isEmpty; if (adUnitPath.includes('Sitehat1398x200')) { return; } const fullscreenSearchTerms = ['Mobile-Fullscreen', 'Desktop-Fullscreen']; const isFullscreenAd = fullscreenSearchTerms.some(term => adUnitPath.includes(term)) && !isAdEmpty; if (event.slot === slot) { const ad = document.querySelector('#ad-billboard-desktop-540286'); if (!ad || !event.size) { return; } iframe = ad.querySelector('iframe'); var closestParent = iframe.closest('.card--advertising, .advertising') || ad; var parentWidth = closestParent.offsetWidth; var parentHeight = closestParent.offsetHeight; const elementWidth = event.size[0]; const elementHeight = event.size[1]; const parentElement = iframe.parentElement; // const parentElement = iframe.closest('.card--advertising'); if (parentElement) { parentElement.style.width = iframe.width + 'px'; } const blockWidth = parentWidth; const blockHeight = parentHeight; const scaleW = blockWidth / elementWidth; const scaleH = blockHeight / elementHeight; if (iframe && iframe.style && scaleW > 0 && (scaleW < 1 || scaleH < 1)) { iframe.style.transform = 'scale(' + scaleW + ')'; iframe.style.transformOrigin = 'left center'; const iframeHeight = iframe.height * scaleW; iframe.parentElement.style.height = iframeHeight + 'px'; iframe.style.transformOrigin = 'left top'; if (isFullscreenAd) { iframe.style.transformOrigin = 'left center'; } } } if (isFullscreenAd) { let checkInterval = setInterval(() => { if (window.estpress && window.estpress.ads) { const fullscreenAd = window.estpress.ads.find(ad => ad.fullscreen === true); if (fullscreenAd) { fullscreenAd.addLoadedClass(event); } clearInterval(checkInterval); } }, 100); } }); googletag.pubads().refresh([slot]); }); }
", [276,226], "ad-billboard-mobile-458655") .setTargeting('test', 'infinitescroll') .addService(googletag.pubads()) googletag.enableServices(); googletag.display('ad-billboard-mobile-458655'); googletag.pubads().addEventListener('slotRenderEnded', event => { const adUnitPath = event.slot.getAdUnitPath(); const slotId = event.slot.getSlotElementId(); const isAdEmpty = event.isEmpty; if (adUnitPath.includes('Sitehat1398x200')) { return; } const fullscreenSearchTerms = ['Mobile-Fullscreen', 'Desktop-Fullscreen']; const isFullscreenAd = fullscreenSearchTerms.some(term => adUnitPath.includes(term)) && !isAdEmpty; if (event.slot === slot) { const ad = document.querySelector('#ad-billboard-mobile-458655'); if (!ad || !event.size) { return; } iframe = ad.querySelector('iframe'); var closestParent = iframe.closest('.card--advertising, .advertising') || ad; var parentWidth = closestParent.offsetWidth; var parentHeight = closestParent.offsetHeight; const elementWidth = event.size[0]; const elementHeight = event.size[1]; const parentElement = iframe.parentElement; // const parentElement = iframe.closest('.card--advertising'); if (parentElement) { parentElement.style.width = iframe.width + 'px'; } const blockWidth = parentWidth; const blockHeight = parentHeight; const scaleW = blockWidth / elementWidth; const scaleH = blockHeight / elementHeight; if (iframe && iframe.style && scaleW > 0 && (scaleW < 1 || scaleH < 1)) { iframe.style.transform = 'scale(' + scaleW + ')'; iframe.style.transformOrigin = 'left center'; const iframeHeight = iframe.height * scaleW; iframe.parentElement.style.height = iframeHeight + 'px'; iframe.style.transformOrigin = 'left top'; if (isFullscreenAd) { iframe.style.transformOrigin = 'left center'; } } } if (isFullscreenAd) { let checkInterval = setInterval(() => { if (window.estpress && window.estpress.ads) { const fullscreenAd = window.estpress.ads.find(ad => ad.fullscreen === true); if (fullscreenAd) { fullscreenAd.addLoadedClass(event); } clearInterval(checkInterval); } }, 100); } }); googletag.pubads().refresh([slot]); }); }