var getPoss = function() { if (window.country_code) return !(country_code === 'IN' || country_code === 'PK') return true; } var playerContainer = document.querySelector('.videoplayer-wrapper'); adver('preroll', { skipYTVpaid: adver.isBravo && getPoss(), afterLoad: function() { //typeof window.x_8sW === 'function' && x_8sW(); }, player: { width: playerContainer.offsetWidth, height: playerContainer.offsetHeight }, skipoffset: adver.isPCO ? 10 : 5, dbpr: {c:0, d:86400} });
if (adver.ua.isMobile && !adver.videoAutoplayed) { setTimeout(function(){ if (!adver.isPCO && !adver.isBravo && location.search.indexOf('promo=10268') === -1 && location.search.indexOf('autoplay=on') === -1 && adver.ua.isMobile && !adver.videoAutoplayed) { adver.waitPlayer(0, function(){ adver('interstitial', { div: '.videoplayer-wrapper', size: '300x250', onClose: function(){if(typeof jw_player !== 'undefined') jw_player.play(true)}, device: 'mobile', force: true }) }); } }) } setTimeout(function(){ adver('instant_message', {customAb: true}) })
setTimeout(function(){ adver('header_mobile', {div: '#header_mobile'}) }) Advertisement
%% video.title %% %% $utils.parseDate(video.post_date) %%
setTimeout(function(){ if(!adver.ua.isMobile){ adver('invideo_pause', {div: '#in_v'}) }else{ var modal = document.querySelector('.iRx9_wrt'); modal && modal.remove() } })
×
Advertisement
Play video
setTimeout(function(){ adver('underplayer', { div: '#und_ban' }) }) Advertisement
%% video.statistics.dislikes_count | reduce %%
%% video.statistics.views_count | reduce %%
%% video.statistics.comments_count | reduce %% %% $t('page.video.comments') %%
%% $t('page.video.add_to') %%
%% $t('page.video.add_to') %%
%% $t('page.video.download') %%
%% $t('page.video.report') %%
%% video.description %%
setTimeout(function(){ adver('ntv_a', {div: '#vh_ntv_a'}) })
setTimeout(function(){ adver('ntv_b', {div: '#vh_ntv_b'}) })
setTimeout(function(){ adver('ntv_c', {div: '#vh_ntv_c'}) })
adver.waitUntil(0, function(){ return document.title; }, function(){ adver.tags = encodeURIComponent(window.ad_tags.split(',').map(function(value) { return value.trim(); }).join(',')); adver.titleStrip = encodeURIComponent(window.document.title.trim()); var skipPop = (adver.ua.isiOS && adver.ua.is === 'mobile' && adver.isBravo) || (adver.ua.is === 'mobile' && adver.isPCO); var isIOS = (/iPad|iPhone|iPod/.test(navigator.platform) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1)) && !window.MSStream; if (isIOS) adver.ua.isMobile = true; if (!skipPop) { var bindSel = ['.jwplayer', '.item-video']; var ignSel = [ '.nopop', '#und_ban', '#ntv_a', '#ntv_b', '#ntv_c', '#iv_1', '.__nat_item' ]; if (adver.ua.isChrome || adver.isPCO) { ignSel = ignSel.concat([ '.jwplayer', '.jw-svg-icon', '.jw-icon', '.jw-icon-inline', '.oImef', '.jw-slider-container', '.hYbuslay', '.jw-skip', '.jw-controls', '.jw-controlbar' ]); } adver.videoAutoplayed = false; var autoplayAfterPop = localStorage.getItem('atppop') === '1'; if (autoplayAfterPop) { adver.videoAutoplayed = true; localStorage.setItem('atppop', 0); var waitPlayer = setInterval(function () { if (window.pl3748) { setTimeout(function () { // If it works don't touch pl3748.setVolume(0); pl3748.play(true); }, 1000); clearInterval(waitPlayer) } }, 500); } if (adver.isCWL && !adver.isPCO) { bindSel = ['.jw-display-controls', '.hYbuslay', '.item-video'] ignSel = []; } adver('popunder', { config: { bindTo: bindSel, ignoreTo: ignSel, mode: { newTab: adver.isBravo || adver.ua.isMobile || ((adver.ua.isChrome || adver.isChrome) && adver.isPCO), under: true } }, popOpts: { nextHitTime: 3 }, shouldFire: function (element, opts) { if (adver.isBravo && !!document.referrer && element && (element.className.indexOf('jw-icon') > -1 || element.className.indexOf('jw-icon-display') > -1)) localStorage.setItem('atppop', 1); return true; }, disableAdditionalPop: adver.isBravo, resetAll: (adver.isCWL && document.referrer && !(document.referrer.indexOf(location.origin) === 0)) || document.referrer.includes('promo=25435') || adver.isCWL && (document.referrer.indexOf('promo=') !== -1) && location.href.indexOf('fr=') !== -1 }); } });