Samsung Galaxy Z Flip, S20(+) en S20 Ultra Hands-on
').insertAfter('#articleBody p:nth-of-type(3):first'); if(adConfig.debug)console.log('JW isStandalone',$('#videoContainer-3775451').size(),$('#idg-video-infeed').size()); var div = $('#videoContainer-3775451>div'); div.appendTo( $('#idg-video-infeed') ); $('#jw-standalone-close-button').css({ 'position':'relative' ,'top':'30px' ,'left':'92%' ,'width':'20px' ,'height':'20px' ,'z-index':'999999' }); }else if (window.Device.isMobile){ if(adConfig.debug)console.log('JW isStandalone mobile and not article - returning'); return; }else{ //do styles dynamicaly on floating desktop $('#videoContainer-3775451').css({ 'display':'inline' ,'position':'fixed' ,'bottom':'5px' ,'right':'5px' ,'height':'225px' ,'width': '401px' ,'border':'none' ,'overflow':'hidden' ,'z-index':'10000' }); $('#videoContainer-3775451 .outer-wrapper').css({ 'top':'0px' ,'left':'0px' ,'width':'100%' ,'height':'100%' ,'border':'none' ,'overflow':'hidden' }); $('#videoContainer-3775451 .outer-wrapper #jw-standalone-close-button').css({ 'position':'absolute' ,'display':'inline' ,'top':'10%' ,'left':'92%' ,'width':'20px' ,'height':'20px' ,'z-index':'999999' }); } /**GA TRACKING ***/ var gaVideoData = {percentWatched:0, firstPlayEventRegistered:false}; //only one watched event per video $( window ).on('beforeunload',function() { if(gaVideoData.firstPlayEventRegistered){ videoDataLayerPush('Watched'); } }); function videoDataLayerPush(eventAction){ var autoStart = true;//was this video autostart var percentile = ''; if(eventAction === 'Watched'){//percentile Tracking var percent = gaVideoData.percentWatched; if(percent >= 0 && percent = 25 && percent = 50 && percent 75 ){ percentile = '100%'; } } if(eventAction.indexOf('lay')>0 && !gaVideoData.firstPlayEventRegistered){ gaVideoData.firstPlayEventRegistered=true; } /* //bit complicated this but basically JW registers Play after a Pre Roll on autoplay so if Ad Start called and we have registered a play event then fire it if(eventAction === 'Ad Start' && !gaVideoData.firstPlayEventRegistered){ videoDataLayerPush('Play'); } */ if( (typeof dataLayer != "undefined") ){ var dl = { 'event': 'videoEvent', 'eventCategory': 'Video', 'eventAction': eventAction, 'eventLabel': percentile, 'videoPlayerName': 'JW', 'videoTitle': 'Zie hier de Cooler Master Mastercase H100 in actie', 'videoId': '3775451', 'videoAutoplay': (autoStart?'True':'False') }; dataLayer.push(dl); if(adConfig.debug)console.log('JW videoDataLayerPush() '+ eventAction,dl); } } /**END GA TRACKING ***/ require(['jquery', 'jwplayer' ], function($,jwplayer){ if(typeof SpotX === 'undefined'){//not supported on site embedVideo($,jwplayer,null) }else{ if(adConfig.debug)console.log('JW SpotX is active'); embedVideo($,jwplayer,SpotX); } },function(){//ad block if(adConfig.debug)console.log('JW SpotX - Ad block - No SpotX'); embedVideo($,jwplayer,null); });//require var embedVideo = function($,jwplayer,SpotX){ if(adConfig.debug)console.log('JW advertisingTag embedVideo() SpotX',SpotX,'VideoId','3775451','initial adTagUrl','https://pubads.g.doubleclick.net/gampad/ads?iu=/8456/IDG.NL_B2B_WebWereld.nl/" + adConfig.zone + "&sz=640x480&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=https://webwereld.nl/&description_url=https://webwereld.nl/&correlator=[timestamp]&vpos=preroll&ppos=1&min_ad_duration=0&vad_type=linear&ad_rule=0&'); if (typeof window.jwplayer === 'undefined') { window.jwplayer = jwplayer; } var showSpotX = (SpotX !== null); googletag.cmd.push(function(){ var timestamp = new Date().getTime(), advertisingTag = "https://pubads.g.doubleclick.net/gampad/ads?iu=/8456/IDG.NL_B2B_WebWereld.nl/" + adConfig.zone + "&sz=640x480&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=https://webwereld.nl/&description_url=https://webwereld.nl/&correlator=[timestamp]&vpos=preroll&ppos=1&min_ad_duration=0&vad_type=linear&ad_rule=0&", cust_params = { "playertype": 'autoplay', "video-id": "3775451", "stg": "false" }; if(typeof window.pageVideoCustomParams === 'undefined'){ window.setupVideoCustomParams(); } $.extend(cust_params, window.pageVideoCustomParams); var cust_params_url = ''; var prevQuality; for(var paramKey in cust_params){ var paramValue = cust_params[paramKey], delimiter = cust_params_url.length > 0 ? '&' : ''; if((typeof paramValue !== 'undefined') && (paramValue.length > 0)){ cust_params_url = cust_params_url + delimiter + paramKey +'=' + paramValue; } }//for advertisingTag = advertisingTag + '&cust_params=' + encodeURIComponent(cust_params_url) + '&lip=true&fred&correlator=' + timestamp; advertisingTag = advertisingTag.replace('&&','&'); if(adConfig.debug)console.log('JW advertisingTag after cust params',advertisingTag); if(showSpotX){ if(adConfig.debug)console.log('JW SpotX entering config, spotxChannelId=',spotxChannelId); var directAdOS = new SpotX.DirectAdOS({ channel_id: spotxChannelId, slot: document.getElementById("videoContainer-3775451"), video_slot: document.getElementById("video-5A5FE30A-444B-4F09-8FAB23A0C8AEDED2"), content_width: 640, content_height: 480 }); if(adConfig.debug)console.log('JW SpotX directAdOS',directAdOS); }else{ //dummy directAdOS var directAdOS = { addSpotXParamsToMVT: function(tag){ if(adConfig.debug)console.log('JW SpotX addSpotXParamsToMVT on dummy directAdOS called'); return {then: function(fun){fun(advertisingTag);}} } }; } var setupFunction = function(mvtURL) { advertisingTag = mvtURL; //add permutive segs try{ if(adConfig.debug)console.log('JW setupFunction() pre perm addition advertisingTag',advertisingTag); var playerSegsPerm = encodeURIComponent('permutive=' + encodeURIComponent(JSON.parse(localStorage._pdfps || '[]').slice(0,250).join(',')) + '&'); advertisingTag = advertisingTag.replace('cust_params=','cust_params='+playerSegsPerm); }catch(err){ if(adConfig.debug)console.error('JW setupFunction() permutive tag addition error',err); } if(adConfig.debug)console.log('JW setupFunction() final advertisingTag',advertisingTag); //advertisingTag = advertisingTag.replace( new RegExp( "640x480", "gi" ), "1x1" ) var setupStruct = { fallback: "true", //floating: {dismissible: true}, width: "100%", //autostart: false, autostart: false, hlshtml: "true", //mute: ((window.Device.isMobile) ? false : true), mute: true, //primary: "flash", file: "//content.jwplatform.com/manifests/3QLGpRFQ.m3u8", image: "//cdn.jwplayer.com/thumbs/3QLGpRFQ-720.jpg", mediaid: "3QLGpRFQ", aspectratio: "1777:1000", advertising: { client: "googima", skipoffset: "5", adscheduleid: "idgukXXN" , autoplayadsmuted: true, loadVideoTimeout: "60000", creativeTimeout: "60000", requestTimeout: "60000", admessage: "Zie hier de Cooler Master Mastercase H100 in actie will play in xx seconds", skiptext: "Skip now", schedule: [ { offset: "pre", tag: advertisingTag } ,{ offset: "28", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "56", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "84", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "112", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "140", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "168", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "196", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "224", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "252", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "280", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "308", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "336", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "364", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "392", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "420", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "448", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "476", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "504", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "532", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "560", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "588", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "616", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "644", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "672", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "midroll" ) //tag: advertisingTag } ,{ offset: "post", tag: advertisingTag.replace( new RegExp( "preroll", "gi" ), "postroll" ) } ] }, key:"OccpdaRpvwBO35sM912RXRncb3aDZtlD99wE1A==" }; var setupPlayerGeoWrapper = function(config){ if(adConfig.debug)console.log('JW', 'setupPlayerGeoWrapper()'); jwplayer("video-5A5FE30A-444B-4F09-8FAB23A0C8AEDED2").setup(config ).on('play',function(event){ if(adConfig.debug)console.log('JW', 'play', event); //play actually happens after video pre roll. //dataLayer.push({"event":"Video Play"});//legacy if(event.playReason === "interaction") videoDataLayerPush('Play'); else if(event.playReason === "external") videoDataLayerPush('AutoPlay'); }).on('ready',function(event) { if(adConfig.debug)console.log('JW', 'onReady'); //if(adConfig.debug)console.log('JW', 'onReady calling playSpotXAd()'); //playSpotXAd(jwplayer("video-5A5FE30A-444B-4F09-8FAB23A0C8AEDED2")); }).on('viewable',function(event) { if(adConfig.debug)console.log('JW', 'viewable', event); /* if(Device.isMobile){ var state = jwplayer("video-5A5FE30A-444B-4F09-8FAB23A0C8AEDED2").getState(); if( 'viewable' in event) if(event.viewable==1 && (state == 'playing' || state == 'buffering') ){ jwplayer("video-5A5FE30A-444B-4F09-8FAB23A0C8AEDED2").stop(); if(adConfig.debug)console.log('JW', 'viewable', 'stopping'); }else if(event.viewable==0 && (state == 'paused') ){ jwplayer("video-5A5FE30A-444B-4F09-8FAB23A0C8AEDED2").play(); if(adConfig.debug)console.log('JW', 'viewable', 'starting'); } } */ }).on('pause',function(event) { if(adConfig.debug)console.log('JW', 'onPause'); videoDataLayerPush('Pause'); }).on('complete',function(event){ if(adConfig.debug)console.log('JW', 'onComplete'); //dataLayer.push({"event":"Video Complete"});//legacy }).on('firstFrame', function(event) { if(adConfig.debug)console.log('JW', 'firstFrame'); }).on('fullscreen', function(event) { }) .on('adError', function(event){ console.log('JW', 'adError', event); //jwplayer("video-5A5FE30A-444B-4F09-8FAB23A0C8AEDED2").stop();//dont auto play if no ad }) .on('adRequest', function(event){ if(adConfig.debug)console.log('JW', 'adRequest', event); }) .on('adBlock',function(event){//only fires on being blocked if(adConfig.debug)console.log('JW', 'adBlock', event); }) .on('adPlay', function(event){ if(adConfig.debug)console.log('JW', 'adPlay', event); videoDataLayerPush('Ad Start'); }) .on('adComplete', function(event){ if(adConfig.debug)console.log('JW', 'adComplete', event); videoDataLayerPush('Ad Complete'); }) .on('time', function(event){ //if(adConfig.debug)console.log('JW', 'time', event); //work out percent var percent = Math.ceil((event.position/event.duration)*100); gaVideoData.percentWatched=percent });//on if(adConfig.debug)console.log('JW','jwplayer setup called for video-5A5FE30A-444B-4F09-8FAB23A0C8AEDED2', setupStruct); /* if (window.Device.isMobile) { jwplayer().setVolume(100); } */ setTimeout(function(){ if(adConfig.debug)console.log('JW','setTimeout() playing autoplay video with id','3775451'); if(jwplayer("video-5A5FE30A-444B-4F09-8FAB23A0C8AEDED2").getState() === 'idle')jwplayer("video-5A5FE30A-444B-4F09-8FAB23A0C8AEDED2").play();//calling play if playing toggles it }, 1000); }//setupPlayerGeoWrapper //if floating but it should be only uk for certain sites then disable if('floating' in setupStruct){ var floatUKOnly = false; if(adConfig.debug)console.log('JW','floatUKOnly',floatUKOnly); if(floatUKOnly) window.$geoLocationDef.done(function(){ if(!$('html').is('.geo-gb')){//not uk delete setupStruct.floating; if(adConfig.debug)console.log('JW deleting float property',setupStruct); setupPlayerGeoWrapper(setupStruct); }else{ setupPlayerGeoWrapper(setupStruct); } });//done else{ setupPlayerGeoWrapper(setupStruct); } }else{ setupPlayerGeoWrapper(setupStruct); }//if //if(adConfig.debug)console.log('JW SpotX addSpotXParamsToMVT then() returning'); }//setupFunction var handleIndexExchange = function(mvt){ setupFunction(mvt); } directAdOS.addSpotXParamsToMVT(advertisingTag).then(handleIndexExchange); });//googletag.cmd.push };//embedVideo })(typeof require !== 'undefined' ? require : idguk.require);
Çorlu Go Admin
This blog is created for your interest and in our interest as well as a website and social media sharing info Interest and Other Entertainment.