1<!doctype html> 2<html lang='es'> 3<head> 4 <link rel="preconnect" href="https://fonts.googleapis.com/"> 5 <link rel="preconnect" href="https://cdnjs.cloudflare.com//"> 6 <link rel="preconnect" href="https://code.jquery.com/"> 7 <link rel="preconnect" href="https://stackpath.bootstrapcdn.com"> 8 <link rel="preconnect" href="https://newscdn2.weigelbroadcasting.com"> 9 10 <!-- Fonts --> 11 <link href="/css/fonts_cbs58.css?v1231.3" rel="stylesheet" type="text/css"> 12 13 <!-- Google fonts --> 14 <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,600i,700,800" rel="stylesheet"> 15 16 <link rel="stylesheet" href="https://use.typekit.net/urn6fbc.css"> 17 18 <meta charset="UTF-8"> 19 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" > 20 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" crossorigin="anonymous"> 21 <meta property="og:title" content="Se renuncia al incentivo de 5 millones de dólares de Microsoft para centros de datos "> 22 <meta property="og:description" content="MOUNT PLEASANT, Wisconsin (TELEMUNDO WI) -- Mount Pleasant utilizará 4.9 millones de dólares, provenientes de un incentivo de desarrollo de Microsoft, para reducir los impuestos a la propiedad a partir"> 23 <meta property="og:type" content="website"> 24 <meta property="og:url" content="https://telemundowi.com/news/se-renuncia-al-incentivo-de-5-millones-de-dolares-de-microsoft-para-centros-de-datos-y-se-redirige-a-mount-pleasant-y-al-condado-de-racine-09-29-26"> 25 <meta property="og:image" content="https://newscdn2.weigelbroadcasting.com/c5XxJ-1790686875-325354-blog-vlcsnap-2026-09-29-06h32m19s032_1790681970.png"> 26 <link rel="image_src" href="https://newscdn2.weigelbroadcasting.com/c5XxJ-1790686875-325354-blog-vlcsnap-2026-09-29-06h32m19s032_1790681970.png" > 27 <meta property="og:site_name" content="TELEMUNDOWI"> 28 <meta property="fb:admins" content="567665230"> 29 <meta name="KEYWORDS" content="Racine Noticias; Kenosha Noticias; Washington Noticias; Sheboygan Noticias; Waukesha Noticias; Ozaukee Noticias; Walworth Noticias; Milwaukee noticias; Milwaukee weather; sports; traffic; Brewers; Bucks; Packers; Telemundo"> 30 <meta name="news_keywords" content="Racine Noticias; Kenosha Noticias; Washington Noticias; Sheboygan Noticias; Waukesha Noticias; Ozaukee Noticias; Walworth Noticias; Milwaukee noticias; Milwaukee weather; sports; traffic; Brewers; Bucks; Packers; Telemundo"><meta name="ROBOTS" content="index,follow,noarchive"> 31 <meta name="owner" content="WDJT"> 32 <meta property="fb:app_id" content="808704082583441"> 33 <link rel="canonical" href="https://telemundowi.com/news/se-renuncia-al-incentivo-de-5-millones-de-dolares-de-microsoft-para-centros-de-datos-y-se-redirige-a-mount-pleasant-y-al-condado-de-racine-09-29-26"> 34 <meta name="twitter:card" content="summary"><meta name="twitter:title" content="Se renuncia al incentivo de 5 millones de dólares de Microsoft para centros de datos "> 35 <meta name="twitter:description" content="MOUNT PLEASANT, Wisconsin (TELEMUNDO WI) -- Mount Pleasant utilizará 4.9 millones de dólares, provenientes de un incentivo de desarrollo de Microsoft, para reducir los impuestos a la propiedad a partir"> 36 <meta property="fb:pages" content="193901736924"> 37 38 39 40 <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v1231.2"> 41 <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v1231.2"> 42 <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v1231.2"> 43 <link rel="manifest" href="/manifest.json"> 44 <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> 45 <meta name="theme-color" content="#ffffff"> 46 47 <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css"> 48 <link rel="stylesheet" type="text/css" href="/css/rrssb.css?v1231.13"> 49 50 <link rel="stylesheet" type="text/css" href="/css/style.css?v123157.703ver1.2"> 51 <link rel="stylesheet" type="text/css" href="/css/style_telemund
51owi.css?v123er107.1981.2"> 52 53 <link rel="stylesheet" href="/css/owl.carousel.min.css"> 54 <link rel="stylesheet" href="/css/owl.theme.default.min.css"> 55 <!-- remove time cache-breaker --> 56 <link rel="stylesheet" type="text/css" href="/css/video_player.css?v123=1021.2"> 57 58 <link href="/css/font-awesome.min.css" rel="stylesheet" type="text/css"> 59 <link href="/js/videojs7/video-js.css?v1231.1" rel="stylesheet"> 60 <link rel="stylesheet" href="/js/videojs7/videojs.ads.css?v1231" > 61 <link rel="stylesheet" href="/js/videojs7/videojs.ima.css?v1231" > 62
62<script src="/js/imagesloaded.pkgd.min.js"></script>
62 63 64
64<script src="/js/countDown.min.js"></script>
64 65 <link rel="stylesheet" href="/css/countdown_timer_style.css?v1231.2917"> 66 67 68 <title>Se renuncia al incentivo de 5 millones de dólares de Microsoft para centros de datos </title> 69 70
70<script 71 src="https://code.jquery.com/jquery-3.7.1.min.js" 72 integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" 73 crossorigin="anonymous"></script>
73 74
74<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
74 75
75<script src="/js/rrssb.min.js"></script>
75 76
76<script src="/js/jquery.bxslider.min.js?v12311"></script>
76 77
77<script src="/js/jquery.sticky.js?v1233.1"></script>
77 78
78<script src="/js/webview_helper.js?v1255.71.2"></script>
78 79
79<script src="/js/scripts.js?v5.24631.2"></script>
79 80
80<script src="/js/viewability.js?v12322"></script>
80 81
81<script src="/js/toggleswitch/on-off-switch.js?x"></script>
81 82
82<script src="/js/toggleswitch/on-off-switch-onload.js?y"></script>
82 83 <link rel="stylesheet" href="/js/toggleswitch/on-off-switch.css"> 84
84<script src="/js/owl.carousel.min.js"></script>
84 85 <link rel="stylesheet" href="/css/twemoji-awesome.css" >
vendor: 167 bytes, lines 85-91
85 86 <script src="https://www.google.com/recaptcha/api.js?onload=CaptchaCallback&render=explicit" async defer></script> 87 88 89 90 91
91<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
91 92
92<script> 93 var googletag = googletag || {}; 94 googletag.cmd = googletag.cmd || []; 95 var BAD_ADS = false; 96 </script>
96 97
97<script> 98 googletag.cmd.push(function() { 99 //googletag.pubads().set("adsense_background_color", "FFFFFF"); 100 googletag.pubads().setTargeting("page", "index.php"); 101 googletag.pubads().setTargeting("site", "telemundowi.com"); 102 103 googletag.pubads().setTargeting("page_type", "story"); 104 105 106 googletag.pubads().setTargeting("video_id", "327307"); 107 googletag.pubads().setTargeting("has_video", "yes"); 108 109 googletag.pubads().setTargeting("page_url", "story"); 110 111 googletag.pubads().setTargeting("tag", ["noticias-locales","noticias locales","noticias locales"]); 112 113 if (navigator.globalPrivacyControl) { 114 googletag.pubads().setPrivacySettings({ 115 'restrictDataProcessing': true 116 }); 117 } 118 119 }); 120 </script>
120 121
121<script> 122 123 var ADS_SITE_NAME = 'telemundowi'; 124 var AD_TOPLEVEL = 'TELEMUNDO_WI'; 125 //weigel ads 126 var WADS = WADS || {}; ; 127 var TOP_AD = null; 128 var MIDDLE_CONTENT_AD = null; 129 var MIDDLE_SIDE_AD = null; 130 var FLOAT_AD = null; 131 var TAKEOVER_AD = null; 132 var TWO_COLUMN_MIN_PIXELS = 700; 133 var ALL_SLOTS = new Array(); 134 var AD_REFRESH_TIME = 30000; 135 var TOP_AD_VIEW_TIME = 4000; 136 WADS.TOP_AD_VIEWED = false; 137 var TOP_AD_RENDERED = false; 138 var mappingBanner; 139 var mappingMiddle; 140 var mappingFloat; 141 var mappingSide; 142 var LOGO_AD = null; 143 var WEATHER_AD = null; 144 var SPONSOR_AD = null; 145 146 147 WADS.MIDDLE_AD_SHOULD_RENDER = false; 148 WADS.FLOAT_AD_SHOULD_RENDER = false; 149 WADS.SIDE_AD_SHOULD_RENDER = false; 150 WADS.MIDDLE_AD_RENDERED = false; 151 WADS.FLOAT_AD_RENDERED = false; 152 WADS.SIDE_AD_RENDERED = false; 153 154 var TAKEOVER_ACTIVE = false; 155 WADS.IS_STICKING = false; 156 var STICK_TRANSITIONING = false; 157 158 var BIDDING_INDEX = 0; 159 var BIDDING_AD_UNITS = new Array(); 160 var BIDDING_AD_NAMES = new Array(); 161 WADS.IS_MOBILE = false; 162 163 WADS.loadScript = function( url, callback ) { 164 165 }; 166 var screenwidth = window.innerWidth || document.documentElement.clientWidth; 167 168 if(screenwidth < 1000){ 169 WADS.IS_MOBILE = true; 170 var removeInterval = setInterval(function(){ 171 if($('.header-nav-mobile').length > 0){ 172 console.log("clear interval"); 173 $('.header-nav-mobile').css('display', 'flex'); 174 $('.header-nav').css('display', 'none'); 175 clearInterval(removeInterval); 176 $('#static_takeover_background').removeClass('static_background_desktop'); 177 $('#static_takeover_background').removeClass('static_background_mobile'); 178 } 179 }, 100); 180 }else{ 181 $('.header-nav-mobile').css('display', 'none'); 182 $('.header-nav').css('display', 'block'); 183 $('.mobile-social-search').css('display', 'none'); 184 185 } 186 187 //worst hack ever... don't know why on mobile safari header disappears after going from fixed to static 188 //tried repainting multiple ways, only this works 189 setInterval(function(){ 190 if(WADS.IS_MOBILE){ 191 $('.mobile-floating-nav').hide().show(0); 192 } 193 }, 200); 194 195 196 197 var AD_ELEMENTS = [ADS_SITE_NAME + '_top']; 198 var allSlots = new Array(); 199 200 googletag.cmd.push(function() { 201 var width = window.innerWidth || document.documentElement.clientWidth; 202 203 if(WEBVIEW.is_webview || WEBVIEW.only_content){ 204 var sizeArray = [[300, 250], [320, 50]]; 205 sizeArray = [300, 250]; 206 207 var topAdSlot = googletag.defineSlot('/7089059/' + ADS_SITE_NAME + '/APP_TOP', sizeArray, 'telemund
207owi_app_top').addService(googletag.pubads()); 208 allSlots.push(topAdSlot); 209 var middleAdSlot = googletag.defineSlot('/7089059/' + ADS_SITE_NAME + '/APP_MIDDLE', sizeArray, 'telemundowi_app_middle').addService(googletag.pubads()); 210 var bottomAdSlot = googletag.defineSlot('/7089059/' + ADS_SITE_NAME + '/APP_BOTTOM', sizeArray, 'telemundowi_app_bottom').addService(googletag.pubads()); 211 allSlots.push(middleAdSlot); 212 allSlots.push(bottomAdSlot); 213 214 googletag.pubads().enableSingleRequest(); 215 googletag.pubads().enableVideoAds(); 216 googletag.pubads().collapseEmptyDivs(); 217 googletag.enableServices(); 218 googletag.pubads().addEventListener('slotRenderEnded', function(event) { 219 console.log("refresh app adsizes"); 220 console.log(event); 221 refreshAppAdSizes(); 222 // Hide webview-ad spots if no ad is found 223 if (event.isEmpty) { 224 var slotId = event.slot.getSlotElementId(); 225 var slotDiv = document.getElementById(slotId); 226 227 // Find the closest ancestor with class "webview-ad" 228 var webviewAdContainer = slotDiv.closest('.webview-ad'); 229 230 if (webviewAdContainer) { 231 webviewAdContainer.style.display = 'none'; 232 } 233 } 234 }); 235 236 WEATHER_AD = googletag.defineSlot('/7089059/' + ADS_SITE_NAME + '_320x50_weatherbanner', [320, 50], 'telemundowi_weatherbanner').addService(googletag.pubads()); 237 SPONSOR_AD = googletag.defineSlot('/7089059/' + ADS_SITE_NAME + '_100x30_weatherlogo', [100, 30], 'telemundowi_weatherlogo').addService(googletag.pubads()); 238 239 return; 240 } 241 else{ 242 googletag.pubads().addEventListener('slotRenderEnded', function(event) { 243 console.log("slot render event"); 244 console.log(event); 245 refreshAppAdSizes(); 246 // Hide webview-ad spots if no ad is found 247 if (event.isEmpty) { 248 249 var slotId = event.slot.getSlotElementId(); 250 var slotDiv = document.getElementById(slotId); 251 console.log("is empty with " + slotId); 252 let sidebarAdId = "telemundowi_side"; 253 254 if(!WADS.IS_MOBILE && sidebarAdId == slotId){ 255 let promoAdImageUrl = "https://newscdn2.weigelbroadcasting.com/59AIK-1789740171-422-promo_ads-T63%20HHM%20banner%20300%20x%20250.png"; 256 console.log("setting sidebar ad url " + promoAdImageUrl); 257 if(promoAdImageUrl != ""){ 258 var image = new Image(); 259 image.onload = function() { 260 261 $('#sidebar_managed_ad').css('display', 'block'); 262 if($('#sidebar_managed_ad_link img').length <= 0){ 263 $('#sidebar_managed_ad_link').append(image); 264 }
265 $('#telemundowi_side').css('display', 'block'); 266 }; 267 image.width = 300; 268 image.height = 250; 269 image.src = promoAdImageUrl; 270 271 272 $('#sidebar_managed_ad_link').on('click', function(e){ 273 e.preventDefault(); 274 const href = this.href; 275 let called = false; 276 if (window.gtag) { 277 gtag('event', 'promoclick', { 278 'event_category': 'PromoAd', 279 'event_label': "PromoSidebar", 280 'value': 1, 281 'non_interaction': true, 282 'event_callback': function() { 283 if (!called) { 284 called = true; 285 window.location = href; 286 } 287 } 288 }); 289 } 290 291 // in case the callback never fires 292 setTimeout(() => { 293 if (!called) window.location = href; 294 }, 500); 295 }); 296 } 297 } 298 } 299 300 }); 301 } 302 //120x50,90x35 303 //googletag.defineSlot('/7089059/MeTV/Top', [[320, 100], [728, 90], [330, 50], [980, 250], [320, 50], [468, 60], [980, 90], [330, 250]], 'div-gpt-ad-1593712551901-0').addService(googletag.pubads()); 304 if(width > 600){ 305 LOGO_AD = googletag.defineSlot("/7089059/" + ADS_SITE_NAME + "_120x50_logo", [120,50], ADS_SITE_NAME + "_logo").addService(googletag.pubads()); 306 }else{ 307 LOGO_AD = googletag.defineSlot("/7089059/" + ADS_SITE_NAME + "_90x35_logo", [90,35], ADS_SITE_NAME + "_logo").addService(googletag.pubads()); 308 } 309 310 311 //top ad is serving 980 google adx 312 TOP_AD = googletag.defineSlot('/7089059/' + AD_TOPLEVEL + '/Top', [[980,250], [980,90], [330,250], [728, 90],[468, 60],[330,50],[320,50]], ADS_SITE_NAME + '_top').addService(googletag.pubads()); 313 314 315 ALL_SLOTS.push(TOP_AD); 316 317 //console.log("has side ad"); 318 MIDDLE_SIDE_AD = googletag.defineSlot('/7089059/' + AD_TOPLEVEL + '/Middle', [300, 250], ADS_SITE_NAME + '_side').addService(googletag.pubads()); 319 ALL_SLOTS.push(MIDDLE_SIDE_AD); 320 AD_ELEMENTS.push(ADS_SITE_NAME + '_side'); 321 322 //console.log("has middle ad"); 323 MIDDLE_CONTENT_AD = googletag.defineSlot('/7089059/' + AD_TOPLEVEL + '/Middle', [[728, 90],[468, 60],[320,50],[320,100],[300,250]], ADS_SITE_NAME + '_middle').addService(googletag.pubads()); 324 ALL_SLOTS.push(MIDDLE_CONTENT_AD); 325 AD_ELEMENTS.push(ADS_SITE_NAME + '_middle'); 326 327 328 WADS.mappingBanner = googletag.sizeMapping() 329 .addSize([980, 100], [[980, 250], [728, 90]]) 330 .addSize([730, 100], [[330,250],[728,90]]) 331 .addSize([470, 100], [[330,250],[468,60]]) 332 .addSize([0, 0], [[330,250],[320,50]]) 333 .build(); 334 335 TOP_AD.defineSizeMapping(WADS.mappingBanner); 336 337 WADS.mappingMiddle = googletag.sizeMapping() 338 .addSize([1160, 200], [[728, 90]]) 339 .addSize([900, 200], [[468, 60], [320,50],[320,100]]) 340 .addSize([800, 180], [[728, 90],[468, 60],[320,50],[320,100]]) 341 .addSize([500, 180], [[468, 60],[320,50],[320,100]]) 342 .addSize([0, 0], [[300,250], [320,50],[320,100]]) 343 .build(); 344 MIDDLE_CONTENT_AD.defineSizeMapping(WADS.mappingMiddle); 345 346 WADS.mappingSide = googletag.sizeMapping() 347 .addSize([900, 400], [[300, 250]]) 348 .addSize([800, 480], [[728, 90], [300, 250]]) 349 .addSize([500, 180], [[468, 60], [300, 250]]) 350 .addSize([0, 0], [[300,250], [320,50]]) 351 .build(); 352 MIDDLE_SIDE_AD.defineSizeMapping(WADS.mappingSide); 353 354 var theTime = new Date().getTime(); 355 WADS.HIDE_FLOATER_FOR_NM = false;
356 if(width < 768){ 357 WADS.HIDE_FLOATER_FOR_NM = true; 358 } 359 360 AD_ELEMENTS.push(ADS_SITE_NAME + '_float'); 361 FLOAT_AD = googletag.defineSlot('/7089059/' + AD_TOPLEVEL + '/Float', [[300, 600], [300,250], [320, 50], [160,600]], ADS_SITE_NAME + '_float').addService(googletag.pubads()); 362 ALL_SLOTS.push(FLOAT_AD); 363 364 WADS.mappingFloat = googletag.sizeMapping() 365 .addSize([900, 400], [[300, 600], [300,250], [160,600]]) 366 .addSize([730, 200], [[728, 90]]) 367 .addSize([470, 100], [[468, 60]]) 368 .addSize([0, 0], [[320,50]]) 369 .build(); 370 FLOAT_AD.defineSizeMapping(WADS.mappingFloat); 371 372 373 if(WADS.HIDE_FLOATER_FOR_NM || width > 900){ 374 /* 375 var nextScript = "https://powerad.ai/script.js"; 376 var sElem = document.createElement( "script" ) 377 sElem.type = "text/javascript"; 378 sElem.src = nextScript; 379 document.getElementsByTagName( "head" )[0].appendChild( sElem ); 380 381 if($('#debug_prebid').length > 0){ 382 $('#debug_prebid').after('<h4>NEXTMILLENNIUM SCRIPT ADDED</h4>'); 383 }*/ 384 } 385 386 ///7089059/MeTV/Middle 387 ///7089059/MeTV/Float 388 389 390 googletag.pubads().addEventListener('slotRenderEnded', function(event) { 391 392 refreshAdSizes(); 393 var window_top = $(window).scrollTop(); 394 var width = window.innerWidth || document.documentElement.clientWidth; 395 var ad_top = 500; 396 var adWidth = 980; 397 var fullAdUnit = event.slot.getAdUnitPath(); 398 console.log("rendered " + fullAdUnit); 399 console.log(event); 400 console.log(event.size); 401 if(fullAdUnit == '/7089059/' + AD_TOPLEVEL + '/Top'){ 402 //console.log("here here here here"); 403 setTimeout(function(){ 404 //failsafe since viewability library isn't working 405 WADS.TOP_AD_VIEWED = true; 406 }, 25000); 407 if(event.size == null){ 408 //if desktop 409 if(width > 900){ 410 event.size = [728, 90]; 411 }else{ 412 event.size = [320, 50]; 413 } 414 BAD_ADS = true; 415 $('#' + ADS_SITE_NAME + '_top').remove(); 416 $('#' + ADS_SITE_NAME + '_promo').css('margin', '0px auto'); 417 WADS.TOP_AD_VIEWED = true; 418 /* 419 $('#static_takeover_background').css('display', 'none'); 420 $('#' + ADS_SITE_NAME + '_top').css('left', leftPos + "px"); 421 $('#' + ADS_SITE_NAME + '_top').css('top', "0px"); 422 $('#' + ADS_SITE_NAME + '_top').css('position', "fixed"); 423 $('#' + ADS_SITE_NAME + '_top').css('margin', '0px'); 424 $('#' + ADS_SITE_NAME + '_top').css('padding-top', '0px'); 425 $('#' + ADS_SITE_NAME + '_top').css('min-height', '100px'); 426 $('#' + ADS_SITE_NAME + '_top').remove(); 427 WADS.TOP_AD_VIEWED = true; 428 */ 429 //return null; 430 } 431 432 TOP_AD_RENDERED = true; 433 434 if(event.size[0] == 980 || event.size[0] == 330){ 435 TAKEOVER_ACTIVE = true; 436 } 437 438 if(!TAKEOVER_ACTIVE){ 439 //change ad to have promo next to it 440 $("#" + ADS_SITE_NAME + "_promo").appendTo(".header-outer-container"); 441 $('.header-outer-container').css('display', 'flex'); 442 $('.header-outer-container').css('justify-content', 'space-bewteen'); 443 $('.header-outer-container').css('width', '100%'); 444 $('.header-outer-container').css('max-width', '1200px'); 445 $('.header-outer-container').css('margin', '0px auto'); 446 $("#" + ADS_SITE_NAME + "_promo").css('padding-top', '8px'); 447 448 }else{ 449 $('.header-ads').remove(); 450 } 451 452 if(STICK_TRANSITIONING && TAKEOVER_ACTIVE){ 453 if(event.size[1] == 90 || event.size[1] == 50 || event.size[1] == 52){ 454 if(event.size[1] == 50){ 455 adWidth = 330; 456 } 457 458 var leftPos = parseInt((width - adWidth) / 2); 459 460 //alert("render event"); 461 if(event.size[1] == 90){ 462 $('#static_takeover_background').addClass('static_background_desktop'); 463 //$(".header-nav-mobile").css('top', '90px'); 464 }else{ 465 $('#static_takeover_background').addClass('static_background_mobile'); 466 //$(".header-nav-mobile").css('top', '60px'); 467 } 468 $('#static_takeover_background').css('top', '0px'); 469 $('#' + ADS_SITE_NAME + '_top').css('left', leftPos + "px"); 470 $('#' + ADS_SITE_NAME + '_top').css('top', "0px"); 471 $('#' + ADS_SITE_NAME + '_top').css('margin', '0px'); 472 $('#' + ADS_SITE_NAME + '_top').css('padding-top', '0px'); 473 } 474 else if(event.size[1] == 250 && TAKEOVER_ACTIVE){ 475 if(event.size[0] == 330){ 476 //alert("sticking"); 477 } 478 $('#' + ADS_SITE_NAME + '_top').css('position', 'static'); 479 $('#' + ADS_SITE_NAME + '_top').css('padding-top', '1rem'); 480 $('#' + ADS_SITE_NAME + '_top').css('margin', '0px auto'); 481 $('#static_takeover_background').css('position', 'fixed'); 482 $('#static_takeover_background').css('top', '-90px'); 483 } 484 485 } 486 STICK_TRANSITIONING = false;
487 } 488 //console.log('Creative with id: ' + event.creativeId + 489 // ' is rendered to slot of size: ' + event.size[0] + 'x' + event.size[1]); \ 490 491 }); 492 googletag.pubads().collapseEmptyDivs(); 493 //googletag.pubads().enableSingleRequest(); 494 googletag.pubads().disableInitialLoad(); 495 googletag.pubads().enableVideoAds(); 496 googletag.enableServices(); 497 498 499 500 setTimeout(function(){ 501 console.log('[ADS] Before refresh - innerWidth: ' + window.innerWidth + ', innerHeight: ' + window.innerHeight); 502 googletag.pubads().refresh([TOP_AD, MIDDLE_SIDE_AD, MIDDLE_CONTENT_AD], { 503 changeCorrelator: true 504 }); 505 }, 2000); 506 setTimeout(function(){ 507 googletag.pubads().refresh([LOGO_AD], { 508 changeCorrelator: true 509 }); 510 }, 2000); 511 512 513 514 $(window).scroll(lazyload_middle_float); 515 lazyload_middle_float(); 516 517 //alert("enabling"); 518 //googletag.openConsole(); 519 }); 520 521 522 523 WADS.renderBid = function(theIndex, adUnitNames){ 524 var allSlots = new Array(); 525 var targetingValues = new Array(); 526 for(var x = 0; x < adUnitNames.length; x++){ 527 var aName = adUnitNames[x]; 528 if(aName == ADS_SITE_NAME + '_top'){ 529 allSlots.push(TOP_AD); 530 targetingValues.push("/7089059/" + AD_TOPLEVEL + "/Top"); 531 } 532 else if(aName == ADS_SITE_NAME + '_side'){ 533 allSlots.push(MIDDLE_SIDE_AD); 534 targetingValues.push("/7089059/" + AD_TOPLEVEL + "/MiddleSide"); 535 } 536 else if(aName == ADS_SITE_NAME + '_middle'){ 537 allSlots.push(MIDDLE_CONTENT_AD); 538 targetingValues.push("/7089059/" + AD_TOPLEVEL + "/MiddleContent"); 539 } 540 else if(aName == ADS_SITE_NAME + '_float'){ 541 allSlots.push(FLOAT_AD); 542 targetingValues.push("/7089059/" + AD_TOPLEVEL + "/Float"); 543 } 544 } 545 546 if(googletag.pubadsReady){ 547 548 console.log("rendering " + allSlots.length + " ads"); 549 console.log(allSlots); 550 googletag.pubads().refresh(allSlots, { 551 changeCorrelator: true 552 }); 553 }else{ 554 console.log("waiting for bids"); 555 556 setTimeout(function(){ 557 WADS.renderBid(theIndex, adUnitNames); 558 }, 100); 559 } 560 } 561 562 WADS.getMappingSize = function(adName){ 563 var width = window.innerWidth || document.documentElement.clientWidth; 564 if(adName == ADS_SITE_NAME + '_top'){ 565 /* 566 var mappingBanner = googletag.sizeMapping() 567 .addSize([970, 100], [[970, 250], [728, 90]]) 568 .addSize([730, 100], [[330,250],[728,90]]) 569 .addSize([470, 100], [[330,250],[468,60]]) 570 .addSize([0, 0], [[330,250],[320,50]]) 571 .build(); 572 */ 573 if(width >= 980){ 574 return "728x90"; 575 } 576 else if(width >= 730){ 577 return "728x90"; 578 } 579 else if(width >= 470){ 580 return "468x60"; 581 } 582 else{ 583 return "330x50"; 584 } 585 } 586 if(adName == ADS_SITE_NAME + '_middle'){ 587 /* 588 * var mappingMiddle = googletag.sizeMapping() 589 .addSize([1160, 200], [[728, 90],[300,250], [320,50]]) 590 .addSize([900, 200], [[468, 60],[300,250], [320,50]]) 591 .addSize([800, 180], [[728, 90],[468, 60],[320,50]]) 592 .addSize([500, 180], [[468, 60],[320,50]]) 593 .addSize([0, 0], [[300,250], [320,50]]) 594 .build(); 595 596 */ 597 if(width >= 1160){ 598 return "728x90"; 599 } 600 else if(width >= 900){ 601 return "468x60"; 602 } 603 else if(width >= 800){ 604 return "728x90"; 605 } 606 else if(width > 500){ 607 return "468x60"; 608 } 609 else{ 610 return "320x50"; 611 } 612 } 613 614 if(adName == ADS_SITE_NAME + '_side'){ 615 /* 616 617 var mappingSide = googletag.sizeMapping() 618 .addSize([900, 400], [[300, 250]]) 619 .addSize([800, 480], [[728, 90], [300, 250]]) 620 .addSize([500, 180], [[468, 60], [300, 250]]) 621 .addSize([0, 0], [[300,250], [320,50]]) 622 .build(); 623 624 */ 625 if(width >= 900){ 626 return "300x250"; 627 } 628 else if(width >= 800){ 629 return "728x90"; 630 } 631 else if(width > 500){ 632 return "468x60"; 633 } 634 else{ 635 return "320x50"; 636 } 637 } 638 639 if(adName == ADS_SITE_NAME + '_float'){ 640 /* 641 642 var mappingFloat = googletag.sizeMapping() 643 .addSize([900, 400], [[300, 600], [300,250]]) 644 .addSize([730, 200], [[728, 90]]) 645 .addSize([470, 100], [[468, 60]]) 646 .addSize([0, 0], [[320,50]]) 647 .build(); 648 */ 649 if(width >= 900){ 650 return "300x250"; 651 } 652 else if(width >= 800){ 653 return "728x90"; 654 } 655 else if(width > 500){ 656 return "468x60"; 657 } 658 else{ 659 return "320x50"; 660 } 661 } 662 console.log("unknown ad size " + adName + " at screen width " + width); 663 return null; 664 }; 665 666 function lazyload_middle_float(){ 667 var scrollBottom = parseInt($(window).scrollTop() + window.innerHeight); 668 var scrollTop = $(window).scrollTop(); 669 670 671 if($('#float_anchor').length > 0){ 672 var float_top = parseInt($('#float_anchor').offset().top); 673 var float_bottom = parseInt($('#float_anchor').offset().top) + 600; 674 var topDiff = Math.abs(float_top - scrollTop); 675 var bottomDiff = Math.abs(float_bottom - scrollBottom); 676 var width = window.innerWidth || document.documentElement.clientWidth; 677 678 if(topDiff < 500 || bottomDiff < 200 || (float_top > scrollTop && float_top < scrollBottom) || width < 900){ 679 if(!WADS.FLOAT_AD_SHOULD_RENDER){ 680 WADS.FLOAT_AD_SHOULD_RENDER = true; 681 682 googletag.cmd.push(function() { 683 googletag.pubads().refresh([FLOAT_AD], { 684 changeCorrelator: true 685 }); 686 }); 687 } 688 } 689 } 690 691 if($('#' + ADS_SITE_NAME + '_side').length > 0){ 692 var middle_top = parseInt($('#' + ADS_SITE_NAME + '_side').offset().top); 693 var middle_bottom = parseInt($('#' + ADS_SITE_NAME + '_side').offset().top) + 90; 694 var middleTopDiff = Math.abs(middle_top - scrollTop); 695 var middleBottomDiff = Math.abs(middle_bottom - scrollBottom); 696 if(middleTopDiff < 1000 || middleBottomDiff < 200 || (middle_top > scrollTop && middle_top < scrollBottom)){ 697 if(!WADS.SIDE_AD_SHOULD_RENDER){ 698 WADS.SIDE_AD_SHOULD_RENDER = true; 699 googletag.cmd.push(function() { 700 googletag.pubads().refresh([MIDDLE_SIDE_AD], { 701 changeCorrelator: true 702 }); 703 }); 704 } 705 } 706 } 707 708 709 } 710 711 $(document).ready(function(){ 712 if(WEBVIEW.is_webview || WEBVIEW.only_content){ 713 return; 714 } 715 oav = new OpenAdViewability(); 716 oav.DEBUG_MODE = true; 717 718 719 for(var x = 0; x < AD_ELEMENTS.length; x++){ 720 var adDiv = AD_ELEMENTS[x]; 721 //console.log("setting up slot " + adDiv); 722 var ad_elem = document.getElementById(adDiv); 723 724 if($('#' + adDiv).length <= 0){ 725 continue; 726 } 727 728 oav.checkViewability(ad_elem, function(check) { 729 //console.log("for ad "); 730 //console.log(ad_elem); 731 //console.log("Status: " + check.viewabiltyStatus) 732 //console.log("Percent: " + check.percentViewable); 733 //console.log("Duration: " + check.duration); 734 //console.log("ad id " + check.ad_id); 735 if(check.ad_id == ADS_SITE_NAME + '_top'){ 736 if(!TOP_AD_RENDERED){ 737 //console.log("resetting duration"); 738 check.duration = 0; 739 } 740 //console.log("Status: " + check.viewabiltyStatus) 741 //console.log("Percent: " + check.percentViewable); 742 //console.log("Duration: " + check.duration); 743 //console.log("ad id " + check.ad_id); 744 if(check.duration > TOP_AD_VIEW_TIME && !WADS.TOP_AD_VIEWED){ 745 //console.log("setting TOP_AD_VIEWED true"); 746 WADS.TOP_AD_VIEWED = true; 747 //setTimeout(function(){ 748 //}, 3000); 749 //console.log("remove - we will never be viewed"); 750 } 751 } 752 753 if(check.ad_id == ADS_SITE_NAME + '_side'){ 754 755 //console.log("Status: " + check.viewabiltyStatus) 756 //console.log("Percent: " + check.percentViewable); 757 //console.log("Duration: " + check.duration); 758 //console.log("ad id " + check.ad_id); 759 760 } 761 762 763 764 if(check.duration > 0 && (check.duration % AD_REFRESH_TIME) == 0){ 765 console.log("refreshing ad " + check.ad_id); 766 var adSlot = null; 767 if(check.ad_id == ADS_SITE_NAME + '_top'){ 768 //only refresh if not a sticky 769 if(!TAKEOVER_ACTIVE){ 770 googletag.cmd.push(function() { 771 772 TOP_AD.defineSizeMapping(WADS.mappingBanner); 773 googletag.pubads().refresh([MIDDLE_CONTENT_AD, ADS_SITE_NAME + '_top']); 774 }); 775 } 776 } 777 if(check.ad_id == ADS_SITE_NAME + '_side'){ 778 googletag.cmd.push(function() { 779 MIDDLE_SIDE_AD.defineSizeMapping(WADS.mappingSide); 780 // 781 googletag.pubads().refresh([MIDDLE_SIDE_AD]); 782 }); 783 } 784 if(check.ad_id == ADS_SITE_NAME + '_middle'){ 785 googletag.cmd.push(function() { 786 MIDDLE_CONTENT_AD.defineSizeMapping(WADS.mappingMiddle); 787 googletag.pubads().refresh([MIDDLE_CONTENT_AD]); 788 789 790 // 791 }); 792 } 793 if(check.ad_id == ADS_SITE_NAME + '_float'){ 794 googletag.cmd.push(function() { 795 //console.log("float mapping"); 796 //console.log(WADS.mappingFloat); 797 FLOAT_AD.defineSizeMapping(WADS.mappingFloat); 798 googletag.pubads().refresh([FLOAT_AD]);
798 799 800 }); 801 } 802 803 } 804 805 //if(check.viewabiltyStatus){ 806 // document.getElementById('viewability_status').innerHTML = 'Viewability Achieved: Yes'; 807 // document.getElementById('viewability_status').className = "green" 808 //} 809 //document.getElementById('viewability_percentage').innerHTML = 'Percentage Viewable: ' + (check.percentViewable >=0 ? check.percentViewable : 0); 810 //document.getElementById('duration').innerHTML = 'Viewable Duraration: ' + (check.duration <=1000 ? check.duration : 1000) + 'ms'; 811 }); 812 813 } 814 815 }); 816 817 </script>
817 818 819 820
820<script> 821 var STATIC_SWITCH_TIME = 0; 822 $(document).ready(function(){ 823 if(!WEBVIEW.is_webview && !WEBVIEW.only_content){ 824 $(window).scroll(floating_fixed_takeover); 825 floating_fixed_takeover(); 826 refreshAdSizes(); 827 828 setInterval(function(){ 829 refreshAdSizes(); 830 floating_fixed_takeover(); 831 }, 1000); 832 } 833 }); 834 835 function floating_fixed_takeover(){ 836 var window_top = $(window).scrollTop(); 837 var width = window.innerWidth || document.documentElement.clientWidth; 838 var ad_top = 500; 839 var adWidth = 728; 840 var floatStartHeight = 300; 841 var windowTopLimit = 100; 842 843 if(TAKEOVER_ACTIVE){ 844 floatStartHeight = 257; 845 adWidth = 980; 846 windowTopLimit = 100; 847 }else{ 848 if(width < 730){ 849 adWidth = 468; 850 } 851 if(width < 470){ 852 adWidth = 330; 853 } 854 if(WADS.IS_MOBILE){ 855 floatStartHeight = 160; 856 } 857 } 858 if($('#static_anchor').length <= 0){ 859 return; 860 } 861 //console.log("floating fixed takeover"); 862 if(window_top > 100 && !TAKEOVER_ACTIVE && WADS.TOP_AD_VIEWED){ 863 //console.log("greater than 100"); 864 865 if(!STICK_TRANSITIONING){ 866 $('#sticky-wrapper').addClass('is-sticky'); 867 $(".header-nav-mobile").css('top', '0px'); 868 $('#main-nav-floating').css('top', '0px'); 869 870 if((width > 970 && TAKEOVER_ACTIVE) || width >= 730){ 871 $('#static_takeover_background').css('position', 'fixed'); 872 $('#static_takeover_background').css('top', '-90px'); 873 $('#' + ADS_SITE_NAME + '_top').css('top', '-90px'); 874 }else{ 875 $('#static_takeover_background').css('top', '-60px'); 876 $('#' + ADS_SITE_NAME + '_top').css('top', '-60px'); 877 } 878 if(WADS.IS_MOBILE){ 879 $(".header-nav").css('display', 'none'); 880 $(".header-nav-mobile").css('position', 'fixed'); 881 $(".header-nav-mobile").css('top', '0px'); 882 $(".header-nav-mobile").addClass('nav-transition'); 883 }else{ 884 $("#main-nav-floating").css('position', 'fixed'); 885 $("#main-nav-floating").css('display', 'block'); 886 $("#main-nav-floating").css('top', '0px'); 887 $("#main-nav-floating").css('z-index', '999999'); 888 $("#main-nav-floating").addClass('nav-transition'); 889 890 } 891 892 893 setTimeout(function(){ 894 $('#static_takeover_background').removeClass('static_background_desktop'); 895 $('#static_takeover_background').removeClass('static_background_mobile'); 896 if(WADS.IS_MOBILE){ 897 $('#static_spacer').css('height', "0px"); 898 }else{ 899 if(!TAKEOVER_ACTIVE){ 900 $('#static_spacer').css('height', "90px"); 901 }else{ 902 $('#static_spacer').css('height', "250px"); 903 } 904 } 905 $('#' + ADS_SITE_NAME + '_top').css('margin', '0px auto'); 906 $('#' + ADS_SITE_NAME + '_top').css('padding-top', '1rem'); 907 $('#' + ADS_SITE_NAME + '_top').css('position', 'static'); 908 }, 1000); 909 WADS.IS_STICKING = true; 910 //STICK_TRANSITIONING = false; 911 //WADS.IS_STICKING = false;
912 913 /* 914 $('.mobile-floating-nav').css('display', 'block'); 915 $("#main-nav-floating").removeClass('nav-transition'); 916 $(".header-nav-mobile").removeClass('nav-transition'); 917 $('#main-nav-floating').css('top', '0px'); 918 if((width > 980 && TAKEOVER_ACTIVE) || width >= 730){ 919 $('#' + ADS_SITE_NAME + '_top').css('top', '-90px'); 920 }else{ 921 $('#' + ADS_SITE_NAME + '_top').css('top', '-60px'); 922 } 923 924 $("#main-nav-floating").css('position', 'static'); 925 $(".header-nav-mobile").css('position', 'static'); 926 $('#static_takeover_background').removeClass('static_background_desktop'); 927 $('#static_takeover_background').removeClass('static_background_mobile'); 928 $('#main-nav-floating').css('margin-top', '0px'); 929 930 $('#sticky-wrapper').removeClass('is-sticky'); 931 932 //$('.header-nav-mobile').removeClass('.header-nav-mobile'); 933 $('.mobile-floating-nav').css('position', 'static'); 934 $('.mobile-floating-nav').css('display', 'flex'); 935 $('.mobile-floating-nav').removeClass('.sticky-mobile-nav'); 936 937 setTimeout(function(){ 938 if(TAKEOVER_ACTIVE){ 939 googletag.cmd.push(function() { 940 googletag.pubads().clear([TOP_AD]); 941 942 var mappingBanner = googletag.sizeMapping() 943 .addSize([980, 100], [[980, 250]]) 944 .addSize([730, 100], [[330,250]]) 945 .addSize([470, 100], [[330,250]]) 946 .addSize([0, 0], [[330,250]]) 947 .build(); 948 949 TOP_AD.defineSizeMapping(mappingBanner); 950 googletag.pubads().refresh([TOP_AD]); 951 $('#static_spacer').css('height', "0px"); 952 953 }); 954 }else{ 955 $('#' + ADS_SITE_NAME + '_top').css('top', '0px'); 956 $('#' + ADS_SITE_NAME + '_top').css('position', 'static'); 957 $('#' + ADS_SITE_NAME + '_top').css('padding-top', '1rem'); 958 $('#' + ADS_SITE_NAME + '_top').css('margin', '0px auto'); 959 $('#static_takeover_background').css('position', 'fixed'); 960 if((width > 980 && TAKEOVER_ACTIVE) || width >= 730){ 961 $('#static_takeover_background').css('top', '-90px'); 962 }else{ 963 $('#static_takeover_background').css('top', '-60px'); 964 } 965 STICK_TRANSITIONING = false; 966 $('.mobile-floating-nav').css('position', 'static'); 967 $('.mobile-floating-nav').css('display', 'flex'); 968 $('.mobile-floating-nav').removeClass('.sticky-mobile-nav'); 969 $('#static_spacer').css('height', "0px"); 970 } 971 972 }, 10); 973 WADS.IS_STICKING = false;
974 */ 975 } 976 } 977 else if(window_top > floatStartHeight){ 978 //console.log("scrolltop greater than 300 floatStartHeight"); 979 980 //smaller height ad is sticking 981 //this is needed because it's coming here before ad is rendered 982 if(!TOP_AD_RENDERED){ 983 984 //$('#metv_top').css('top', '-250px'); 985 //alert("here"); 986 setTimeout(function(){ 987 if(!window.googletag || !googletag._loaded_){ 988 TOP_AD_RENDERED = true; 989 WADS.TOP_AD_VIEWED = true; 990 } 991 //$('#' + ADS_SITE_NAME + '_top').css('position', 'fixed'); 992 floating_fixed_takeover(); 993 }, 500); 994 return; 995 } 996 else if(!WADS.IS_STICKING && !STICK_TRANSITIONING){ 997 console.log("not sticking and not transitioning"); 998 //$('#main-nav-floating').css('background', 'white'); 999 if(!WADS.TOP_AD_VIEWED || TAKEOVER_ACTIVE){ 1000 1001 STICK_TRANSITIONING = true; 1002 if(WADS.IS_MOBILE){ 1003 1004 $(".header-nav").css('display', 'none'); 1005 $(".header-nav-mobile").css('position', 'fixed'); 1006 $(".header-nav-mobile").css('top', '0px'); 1007 $(".header-nav-mobile").addClass('nav-transition'); 1008 }else{ 1009 $("#main-nav-floating").css('position', 'fixed'); 1010 $("#main-nav-floating").css('display', 'block'); 1011 $("#main-nav-floating").css('top', '0px'); 1012 $("#main-nav-floating").css('z-index', '999999'); 1013 $("#main-nav-floating").addClass('nav-transition'); 1014 } 1015 $('#static_takeover_background').css('display', 'block'); 1016 1017 if(WADS.IS_MOBILE){ 1018 $('#static_spacer').css('height', "0px"); 1019 }else{ 1020 if(TAKEOVER_ACTIVE){ 1021 $('#static_spacer').css('height', "250px"); 1022 }else{ 1023 $('#static_spacer').css('height', "90px"); 1024 } 1025 } 1026 1027 if((width > 980 && TAKEOVER_ACTIVE) || width >= 730){ 1028 $('#' + ADS_SITE_NAME + '_top').css('top', '-90px'); 1029 $('#' + ADS_SITE_NAME + '_top').css('position', 'fixed'); 1030 //alert("ADSSITE NAME " + ADS_SITE_NAME); 1031 if(!WADS.IS_MOBILE){ 1032 $('#main-nav-floating').css('width', '100%'); 1033 $('#main-nav-floating').css('margin-top', '0px'); 1034 } 1035 }else{ 1036 $('#sticky-wrapper').addClass('is-sticky'); 1037 if(!WADS.IS_MOBILE){ 1038 $('#main-nav-floating').css('margin-top', '0px'); 1039 $('#' + ADS_SITE_NAME + '_top').css('top', '-90px'); 1040 $('#' + ADS_SITE_NAME + '_top').css('position', 'fixed'); 1041 $('#static_takeover_background').css('top', "-90px"); 1042 $('#static_takeover_background').css('height', "90px"); 1043 $('.header-nav-search').css('color', 'white'); 1044 $('#static_spacer').css('height', "260px"); 1045 }else{ 1046 $('#' + ADS_SITE_NAME + '_top').css('top', '-60px'); 1047 $('#' + ADS_SITE_NAME + '_top').css('position', 'fixed'); 1048 $('#static_takeover_background').css('top', "-60px"); 1049 $('#static_takeover_background').css('height', "60px"); 1050 if(TAKEOVER_ACTIVE){ 1051 $('#static_spacer').css('height', "320px"); 1052 }else{ 1053 $('#static_spacer').css('height', "120px"); 1054 } 1055 } 1056 } 1057 //$('#metv_top').addClass('stick'); 1058 $('#' + ADS_SITE_NAME + '_top').css('display', 'none'); 1059 }else if(WADS.TOP_AD_VIEWED && !TAKEOVER_ACTIVE){ 1060 if(WADS.IS_MOBILE){ 1061 $(".header-nav").css('display', 'none'); 1062 $(".header-nav-mobile").css('position', 'fixed'); 1063 $(".header-nav-mobile").css('top', '0px'); 1064 $(".header-nav-mobile").addClass('nav-transition'); 1065 }else{ 1066 $("#main-nav-floating").css('position', 'fixed'); 1067 $("#main-nav-floating").css('display', 'block'); 1068 $("#main-nav-floating").css('top', '0px'); 1069 $("#main-nav-floating").css('z-index', '999999'); 1070 $("#main-nav-floating").addClass('nav-transition'); 1071 } 1072 } 1073 1074 //let logo transition occur 1075 var transTime = 100; 1076 if(TAKEOVER_ACTIVE){ 1077 transTime = 10; 1078 } 1079 setTimeout(function(){ 1080 if(TAKEOVER_ACTIVE){ 1081 setTimeout(function(){ 1082 googletag.cmd.push(function() { 1083 //console.log("requesting top takeover") 1084 googletag.pubads().clear([TOP_AD]); 1085 $('#' + ADS_SITE_NAME + '_top').css('display', 'block'); 1086 WADS.IS_STICKING = true; 1087 if(!WADS.IS_MOBILE){ 1088 $('.mobile-floating-navdesktop').hide(); 1089 $('.header-nav .header-social-search').hide(); 1090 } 1091 $('#sticky-wrapper').addClass('is-sticky'); 1092 var mappingSmallTakeover = googletag.sizeMapping() 1093 .addSize([980, 100], [[980, 90]]) 1094 .addSize([730, 100], [[330,50]]) 1095 .addSize([470, 100], [[330,50]]) 1096 .addSize([0, 0], [[330,50]]) 1097 .build(); 1098 1099 TOP_AD.defineSizeMapping(mappingSmallTakeover); 1100 googletag.pubads().refresh([TOP_AD]); 1101 1102 }); 1103 setTimeout(function(){ 1104 if(!WADS.IS_MOBILE){ 1105 $('#main-nav-floating').css('top', '90px'); 1106 }else{ 1107 $(".header-nav-mobile").css('top', '60px'); 1108 } 1109 }, 150); 1110 1111 }, 10); 1112 }else{ 1113 if(STICK_TRANSITIONING){ 1114 //console.log("not takeover"); 1115 var leftPos = parseInt((width - adWidth) / 2); 1116 $('#' + ADS_SITE_NAME + '_top').css('display', 'block'); 1117 if(!WADS.TOP_AD_VIEWED){ 1118 setTimeout(function(){ 1119 $('#' + ADS_SITE_NAME + '_top').css('top', '0px'); 1120 $('#' + ADS_SITE_NAME + '_top').css('left', leftPos + "px"); 1121 $('#' + ADS_SITE_NAME + '_top').css('margin', '0px'); 1122 $('#' + ADS_SITE_NAME + '_top').css('padding-top', '0px'); 1123 }, 50); 1124 } 1125 WADS.IS_STICKING = true; 1126 $('#sticky-wrapper').addClass('is-sticky'); 1127 if(width < 730){ 1128 $('#static_takeover_background').addClass('static_background_mobile'); 1129 } 1130 else{ 1131 $('#static_takeover_background').addClass('static_background_desktop'); 1132 } 1133 1134 1135 1136 $(".header-nav-mobile").css('position', 'fixed'); 1137 1138 STICK_TRANSITIONING = false; 1139 //' + ADS_SITE_NAME + '_top needs timeout for some reason to transition 1140 setTimeout(function(){ 1141 setTimeout(function(){ 1142 if(!WADS.IS_MOBILE){ 1143 $('#main-nav-floating').css('top', '90px'); 1144 }else{ 1145 $(".header-nav-mobile").css('top', '60px'); 1146 } 1147 }, 10); 1148 if(((width > 980 && TAKEOVER_ACTIVE) || width >= 730) && !WADS.TOP_AD_VIEWED){ 1149 $("#main-nav-floating").css('top', '90px'); 1150 //setInterval(function(){ 1151 // $("#main-nav-floating").css('top', '90px'); 1152 //}, 1000); 1153 }else{ 1154 if(!WADS.TOP_AD_VIEWED){ 1155 $("#main-nav-floating").css('top', '60px'); 1156 }else{ 1157 $("#main-nav-floating").css('top', '0px'); 1158 } 1159 } 1160 $('#static_takeover_background').css('top', '0px'); 1161 1162 }, 100); 1163 } 1164 } 1165 //$('.mobile-floating-nav').css('z-index', '2147483647'); 1166 1167 }, transTime); 1168 } 1169 } 1170 else if((window_top < windowTopLimit && !WADS.IS_MOBILE) || (window_top < 150 && WADS.IS_MOBILE)){ 1171 1172 //console.log("less than 100"); 1173 //alert("here"); 1174 if(WADS.IS_STICKING && !STICK_TRANSITIONING){ 1175 console.log("IS TRANSITIONING"); 1176 if(!TAKEOVER_ACTIVE){ 1177 $('#static_spacer').css('height', "0px"); 1178 }else{ 1179 $('#static_spacer').css('height', "150px"); 1180 } 1181 STICK_TRANSITIONING = true; 1182 $("#main-nav-floating").removeClass('nav-transition'); 1183 $(".header-nav-mobile").removeClass('nav-transition'); 1184 $(".header-nav-mobile").css('top', '0px'); 1185 $('#main-nav-floating').css('top', '0px'); 1186 if((width > 980 && TAKEOVER
1186_ACTIVE) || width >= 730){ 1187 $('#' + ADS_SITE_NAME + '_top').css('top', '-90px'); 1188 }else{ 1189 $('#' + ADS_SITE_NAME + '_top').css('top', '-60px'); 1190 } 1191 if(!WADS.IS_MOBILE){ 1192 $('.mobile-floating-navdesktop').show(); 1193 $('.header-nav .header-social-search').show(); 1194 } 1195 1196 $("#main-nav-floating").css('position', 'static'); 1197 $(".header-nav-mobile").css('position', 'static'); 1198 $('#static_takeover_background').removeClass('static_background_desktop'); 1199 $('#static_takeover_background').removeClass('static_background_mobile'); 1200 1201 $('#main-nav-floating').css('margin-top', '0px'); 1202 $('#static_spacer').css('height', "0px"); 1203 $('#sticky-wrapper').removeClass('is-sticky'); 1204 1205 $('.mobile-floating-nav').css('position', 'static'); 1206 $('.mobile-floating-nav').css('display', 'flex'); 1207 $('.mobile-floating-nav').removeClass('.sticky-mobile-nav'); 1208 1209 1210 //$('.header-nav-mobile').removeClass('.header-nav-mobile'); 1211 //$('.header-nav-mobile').css('top', '0px'); 1212 1213 //$('#static_takeover_background').css('display', 'none'); 1214 //$('#' + ADS_SITE_NAME + '_top').css('position', 'static'); 1215 //$('#' + ADS_SITE_NAME + '_top').css('padding-top', '1rem'); 1216 //$('#' + ADS_SITE_NAME + '_top').css('margin', '0px auto'); 1217 if(TAKEOVER_ACTIVE){ 1218 googletag.cmd.push(function() { 1219 1220 WADS.IS_STICKING = false; 1221 googletag.pubads().clear([TOP_AD]); 1222 1223 var mappingBanner = googletag.sizeMapping() 1224 .addSize([980, 100], [[980, 250]]) 1225 .addSize([730, 100], [[330,250]]) 1226 .addSize([470, 100], [[330,250]]) 1227 .addSize([0, 0], [[330,250]]) 1228 .build(); 1229 1230 TOP_AD.defineSizeMapping(mappingBanner); 1231 googletag.pubads().refresh([TOP_AD]); 1232 1233 }); 1234 }else{ 1235 if(WADS.IS_MOBILE){ 1236 $('#' + ADS_SITE_NAME + '_top').css('top', '-60px'); 1237 }else{ 1238 $('#' + ADS_SITE_NAME + '_top').css('top', '-90px'); 1239 } 1240 $('#' + ADS_SITE_NAME + '_top').css('position', 'static'); 1241 $('#' + ADS_SITE_NAME + '_top').css('padding-top', '1rem'); 1242 $('#' + ADS_SITE_NAME + '_top').css('margin', '0px auto'); 1243 $('#static_takeover_background').css('position', 'fixed'); 1244 if((width > 980 && TAKEOVER_ACTIVE) || width >= 730){ 1245 $('#static_takeover_background').css('top', '-90px'); 1246 }else{ 1247 $('#static_takeover_background').css('top', '-60px'); 1248 } 1249 STICK_TRANSITIONING = false; 1250 WADS.IS_STICKING = false;
1251 } 1252 setTimeout(function(){ 1253 $('#static_takeover_background').css('display', 'none'); 1254 $('.mobile-floating-nav').css('position', 'static'); 1255 //$('.mobile-floating-nav').css('z-index', '2147483646'); 1256 1257 }, 100); 1258 1259 } 1260 } 1261 1262 } 1263 1264 </script>
1264 1265
1265<script> 1266 function DEBUG_PREBID(){ 1267 console.log("debugging prebid"); 1268 var responses = pbjs.getBidResponses(); 1269 var winners = pbjs.getAllWinningBids(); 1270 var output = []; 1271 Object.keys(responses).forEach(function(adUnitCode) { 1272 var response = responses[adUnitCode]; 1273 response.bids.forEach(function(bid) { 1274 output.push({ 1275 bid: bid, 1276 adunit: adUnitCode, 1277 adId: bid.adId, 1278 bidder: bid.bidder, 1279 time: bid.timeToRespond, 1280 cpm: bid.cpm, 1281 msg: bid.statusMessage, 1282 rendered: !!winners.find(function(winner) { 1283 if(winner.adId==bid.adId){ 1284 alert("bid was won!" + adUnitCode); 1285 } 1286 return winner.adId==bid.adId; 1287 }) 1288 }); 1289 }); 1290 }); 1291 if (output.length) { 1292 if (console.table) { 1293 console.table(output); 1294 } else { 1295 for (var j = 0; j < output.length; j++) { 1296 console.log(output[j]); 1297 } 1298 } 1299 } else { 1300 console.warn('NO prebid responses'); 1301 } 1302 }; 1303 </script>
vendor: 153 bytes, lines 1303-1309
1303 1304 1305 1306 1307 1308 1309 <script async src="https://www.googletagmanager.com/gtag/js?id=
1309G-N0ZMJ7THB0
vendor: 20 bytes, lines 1309-1310
1309"></script> 1310
1310<script> 1311 window.dataLayer = window.dataLayer || []; 1312 function gtag(){dataLayer.push(arguments);} 1313 1314 gtag('consent', 'default', { 1315 'ad_storage': 'granted', 1316 'analytics_storage': 'granted', 1317 'ad_user_data': 'granted', 1318 'ad_personalization': 'granted' 1319 }); 1320 if (navigator.globalPrivacyControl) { 1321 gtag('consent', 'update', { 1322 'ad_storage': 'denied', 1323 'ad_user_data': 'denied', 1324 'ad_personalization': 'denied' 1325 }); 1326 } 1327 1328 gtag('js', new Date()); 1329 gtag('config', 'G-N0ZMJ7THB0'); 1330 </script>
1330 1331 1332 1333 <!-- Traffic Widget --> 1334 1335 <!-- Nativo ads --> 1336 <!-- log errors - only if flag set --> 1337 1338 1339 1340
1340<script> 1341 var WEBVIEW = WEBVIEW || {}; 1342 WEBVIEW.is_webview = false; 1343 WEBVIEW.log_stats = function(){ 1344 1345 }; 1346 WEBVIEW.full_url = ''; 1347 WEBVIEW.only_content = false; 1348 WEBVIEW.access_token = ''; 1349 WEBVIEW.market_id = ''; 1350 WEBVIEW.app_location_enabled = false; 1351 WEBVIEW.version = 1; 1352 WEBVIEW.site_name = 'telemundowi'; 1353 WEBVIEW.HEIGHT = 0; 1354 WEBVIEW.REMOVE_FOLLOW_TAG = false; 1355 WEBVIEW.SERVICES_URL = 'https://services.weigelbroadcasting.com/'; 1356 1357 if(WEBVIEW.only_content){ 1358 WEBVIEW.heightChangeHandler(); 1359 } 1360 1361 var WCS = WCS || {}; 1362 WCS.isHomepage = false; 1363 WCS.CAPTCHA_SITE_KEY = '6LfwBUQUAAAAALPuABuclB4DSrMCClNMTn6204M7'; 1364 var WVM = WVM || {}; 1365 var WADS = WADS || {}; 1366 WADS.DISABLED = false; 1367 </script>
1367 1368</head> 1369<body> 1370 1371 <style> 1372.market-alert-container { 1373 background-color: #009ec6; 1374 background-position: 50%; 1375 text-align: center; 1376} 1377 1378.market-alert-container .market-alert-text { 1379 display: flex; 1380 flex-direction: column; 1381 color: white; 1382 font-size: 1.8rem; 1383 line-height: 2.2rem; 1384 width: 95%; 1385 margin: 0 auto; 1386 letter-spacing: 0.3px; 1387} 1388 1389.market-alert-container .market-alert-text a { 1390 color: #000000; 1391 font-weight: bold; 1392} 1393 1394.market-alert-text p { 1395 margin: 1.5rem 0 1.5rem; 1396} 1397 1398i.market-alert-close { 1399 color: white; 1400 cursor: pointer; 1401 position: relative; 1402 font-size: 2rem; 1403 padding: 0.2rem 0.45rem; 1404 float: right; 1405 top: 1rem; 1406 right: 1rem; 1407} 1408 1409i.market-alert-close:hover, 1410i.market-alert-close:focus { 1411 color: black; 1412} 1413 1414.market-alert-container + .market-alert-container { 1415 border-top: 1px solid; 1416} 1417 1418.market-alert-container .btn-primary { 1419 display: inline-block; 1420 font-size: 1.6rem; 1421 text-transform: uppercase; 1422 padding: 1.1rem 5.7rem; 1423} 1424 1425.lg-col-wrapper .market-alert-container { 1426 margin: -3rem 0 5rem; 1427} 1428 1429.btn-primary.text-brand-black, .form-wrap input[type="submit"].text-brand-black, .form-wrap button.text-brand-black { 1430 color: #252525; 1431} 1432.btn-primary.white, .form-wrap input[type="submit"].white, .form-wrap button.white { 1433 background-color: #fff; 1434} 1435.form-wrap input[type="submit"], .form-wrap button { 1436 color: #fff; 1437 font-size: 2rem; 1438 font-weight: 600; 1439 text-decoration: none; 1440 text-align: center; 1441 border: 2px solid transparent; 1442 border-radius: 50px; 1443 white-space: nowrap; 1444 padding: 1.3rem 2.8rem; 1445 margin-bottom: 1rem; 1446 opacity: 1; 1447} 1448 1449.btn-primary.inverted-white:hover, .form-wrap input[type="submit"].inverted-white:hover, .form-wrap button.inverted-white:hover { 1450 color: #fff; 1451 border: 2px solid #fff; 1452 -webkit-filter: none; 1453 filter: none; 1454 background: transparent; 1455} 1456 1457.btn-primary:hover, .form-wrap input[type="submit"]:hover, .form-wrap button:hover, .btn-primary:focus, .form-wrap input[type="submit"]:focus, .form-wrap button:focus, .btn-primary:active, .form-wrap input[type="submit"]:active, .form-wrap button:active { 1458 -webkit-filter: brightness(115%); 1459 filter: brightness(115%); 1460 text-decoration: none; 1461} 1462 1463@media screen and (max-width: 900px) { 1464 .market-alert-container .rescan-alert-text { 1465 font-size: 2rem; 1466 } 1467} 1468</style> 1469
1470<script> 1471 $(document).ready(function(){ 1472 $('.market-alert-close').on('click', function(e){ 1473 if(e.target) targ = e.target; 1474 else if (e.srcElement) targ = e.srcElement; 1475 if(targ.nodeType==3) targ = targ.parentNode; 1476 1477 var alt_box = $(targ.parentNode); 1478 1479 alt_box.fadeOut(); 1480 1481 }); 1482 }); 1483</script>
1483 1484 1485 1486 1487 <header> 1488 <div class="header-outer-container lg-col-wrapper-no-space header-ads-container clearfix"> 1489 <div id="static_anchor"></div> 1490 <div id="telemundowi_top" class="leaderboard-wrap"> 1491
1491<script> 1492 googletag.cmd.push(function() { googletag.display('telemundowi_top'); }); 1493 </script>
1493 1494 </div> 1495 <div id="static_spacer"></div> 1496 <style> 1497 .leaderboard-wrap{ 1498 margin: 0 auto; 1499 text-align: center; 1500 padding-top: 1rem; 1501 } 1502 #static_takeover_background{ 1503 position: fixed; 1504 top:-100px; 1505 } 1506 1507 .static_background_desktop{ 1508 height: 105px; 1509 width: 100%; 1510 position: fixed; 1511 top:-100px; 1512 left:0px; 1513 z-index: 5000; 1514 transition:top 0.6s ease; 1515 background: white; } 1516 .static_background_mobile{ 1517 height: 60px; 1518 width: 100%; 1519 top:-60px; 1520 left:0px; 1521 background: white; 1522 position: fixed; 1523 z-index: 999999999; 1524 transition:top 0.6s ease; 1525 } 1526 1527 .nav-transition{ 1528 transition:top 1.0s ease; 1529 width: 100%; 1530 } 1531 1532 #telemundowi_top{ 1533 z-index: 2147483620; 1534 top:-90px; 1535 transition:top 1s ease; 1536 } 1537 1538 .header-nav{ 1539 top: 0; 1540 transition:top 1s ease; 1541 } 1542 1543 .float-transition { 1544 transition: bottom 1s ease; 1545 bottom: 0px !important; 1546 } 1547 1548 .header-nav-mobile{ 1549 top:0px; 1550 width: 100%; 1551 display:none; 1552 z-index: 999999999999; 1553 } 1554 1555 .header-mobile-inner{ 1556 display:flex; 1557 justify-content: space-between; 1558 } 1559 @media only screen and (max-width: 900px) { 1560 .header-ads-container{ 1561 flex-direction: column; 1562 background: white; 1563 } 1564 #managed_ad{ 1565 text-align: center; 1566 } 1567 } 1568 1569 .header-ads{ 1570 display:none; 1571 } 1572 1573 1574 @keyframes repaint { 1575 1576 from { 1577 left: 0px; 1578 } 1579 to { 1580 left: 1px; 1581 } 1582 1583 } 1584 1585 .repaint { 1586 background: linear-gradient(to right, #0E2671 0%,#134596 10%,#0D246F 100%); 1587 /* 1588 -webkit-animation: repaint 1000ms; 1589 -moz-animation: repaint 1000ms; 1590 -ms-animation: repaint 1000ms; 1591 animation: repaint 1000ms; 1592 */ 1593 } 1594 1595 @media only screen and (max-width: 1000px) { 1596 .mobile-floating-navdesktop2{ 1597 display:none; 1598 } 1599 } 1600 1601 </style> 1602 <div id='static_takeover_background' class="static_background_desktop"> 1603 </div> 1604 1605 <div class="header-row-wrapper"> 1606 </div> 1607 </div> 1608 <nav class="header-nav-mobile main-nav mobile-only"> 1609 <div class="section-inner lg-col-wrapper clearfix"> 1610 <div class="mobile-floating-nav mobile-floating-navdesktop2">
1611 <span class="main-nav-menu-btn"><i class="fa fa-bars" aria-hidden="true"></i></span> 1612 <a href="/"> 1613 <img class="logo-stacked logo-stacked-telemundowi" src="/images/logo_telemundowi_small.png?v123=3.1" alt="telemundowi Logo"> 1614 </a> 1615 <div class="content-native-share"> 1616 <button id="shareBtn" class="share-btn"> 1617 <!-- Example icon using Font Awesome 5+ (solid style) --> 1618 <i class="fas fa-share-square"></i> 1619 Share 1620 </button> 1621</div> 1622 1623 1624<style> 1625 1626.content-native-share{ 1627 padding: 0 4rem; 1628 margin: 0.5rem 0 1.5rem; 1629 font-size: 1.6rem; 1630} 1631 1632@media (max-width: 750px) { 1633 .content-native-share{ 1634 padding: 0px; 1635 } 1636} 1637 1638.share-btn { 1639 color: #fff; 1640 border: none; 1641 padding: 1rem 3.25rem 0.9rem; 1642 font-size: 1.6rem; 1643 font-weight: 700; 1644 display: inline-flex; 1645 cursor: pointer; 1646 transition: background-color 0.2s ease-in-out; 1647} 1648 1649.share-btn i { 1650 margin-right: 0.75rem; 1651 font-size: 1.8rem; 1652 color: white; 1653} 1654</style> 1655 1656 1657 <ul> 1658 <li class="submenu-wrap"> 1659 1660 <a href="/noticias">Noticias</a> 1661 <ul class="submenu"> 1662 <!-- <li class="submenu-back-btn"><span><i class="fa fa-chevron-left" aria-hidden="true"></i> Back</span></li> --> 1663 <li><a href="/noticias">Noticias Inicio</a></li> 1664 <li><a href="/noticias-locales">Noticias Locales</a></li> 1665 <li><a href="https://www.telemundowi.com/politica"> PolÃtica</a></li> 1666 <li><a href="https://www.telemundowi.com/nuestra-comunidad">Nuestra Comunidad</a></li> 1667 <li><a href="https://www.telemundowi.com/tucomunidadtrabajos">Trabajos</a></li> 1668 </ul> 1669 </li> 1670 <li class="submenu-wrap"> 1671 1672 <a href="/el-tiempo">El Tiempo</a> 1673 <ul class="submenu"> 1674 <!-- <li class="submenu-back-btn"><span><i class="fa fa-chevron-left" aria-hidden="true"></i> Back</span></li> --> 1675 <li><a href="/el-tiempo">El Tiempo Inicio</a></li> 1676 <li><a href="mapa-de-traffico">Mapa de Tráfico</a></li> 1677 <li><a href="https://www.telemundowi.com/escuelas-y-oficinas-cerradas">CIERRES DEBIDO AL CLIMA</a></li> 1678 </ul> 1679 </li> 1680 <li> 1681 1682 <a href="/que-pasa-wisconsin">¡Qué Pasa Wisconsin!</a> 1683 </li> 1684 <li> 1685 1686 <a href="/programacion">Programación</a> 1687 </li> 1688 <li> 1689 1690 <a href="/sorteos">Sorteos</a> 1691 </li> 1692 <li class="submenu-wrap"> 1693 1694 <a href="/acerca-de-nosotros">Acerca de nosotros</a> 1695 <ul class="submenu"> 1696 <!-- <li class="submenu-back-btn"><span><i class="fa fa-chevron-left" aria-hidden="true"></i> Back</span></li> --> 1697 <li><a href="/acerca-de-nosotros">Acerca de nosotros Inicio</a></li> 1698 <li><a href="https://recruiting.paylocity.com/recruiting/jobs/All/9d397aee-0089-45c1-b110-dd8b99143261/Milwaukee">Empleo</a></li> 1699 <li>
1699<a href="https://www.telemundowi.com//programacion">Programación</a></li> 1700 <li><a href="https://www.telemundowi.com/bios">Conozca al equipo</a></li> 1701 <li><a href="https://www.telemundowi.com/contact/">CONTÃCTENOS</a></li> 1702 </ul> 1703 </li> 1704 <li><a href="http://metv.com/setmarket.php?marketID=3" target="_blank" rel="noopener">M<span class="lowercase-text">e</span>TV</a></li> 1705 <li> 1706 <a class="" href="/contact/">Enviar Mensaje</a> 1707 1708 </li> 1709 <li> 1710 <a class="" style="margin-right: 0;" href="https://www.cbs58.com/where-to-watch">Donde Mirar</a> 1711 </li> 1712 1713 1714 <div class="header-nav-icons"> 1715 <li class="header-nav-search"> 1716 <i class="fa fa-search"></i> 1717 </li> 1718 </div> 1719 </ul> 1720 1721 1722 </div> 1723 <div class="header-social-search"> 1724 <a class="header-tips-links-btn" href="/contact/">Enviar Mensaje</a> 1725 <a class="header-tips-links-btn" style="margin-right: 0;" href="https://www.cbs58.com/where-to-watch">Donde Mirar</a> 1726 </div> 1727 </nav> 1728 <nav class="header-nav"> 1729 <div class="section-inner lg-col-wrapper clearfix"> 1730 <div class="mobile-floating-nav mobile-floating-navdesktop"> 1731 <a href="/"> 1732 <img class="logo logo-telemundowi" src="/images/logo_telemundowi.png?v1235.11" alt="TelemundoWI"> 1733 <img class="logo-stacked logo-stacked-telemundowi" src="/images/logo_telemundowi_stacked_header.png?v1237"> 1734 </a> 1735 <button class="main-nav-menu-btn"><i class="fa fa-bars" aria-hidden="true"></i></button> 1736 1737 </div> 1738 <!-- <div class="header-contact"> 1739 <span><span>LÃnea Directa:</span> 1740 414-777-5818</span> <span class="header-contact-spacer">|</span> 1741 <a href="mailto:[email protected]">[email protected]</a> 1742 </div> --> 1743 <div class="header-social-search"> 1744 <a class="header-tips-links-btn" href="/contact/">Enviar Mensaje</a> 1745 1746 1747 1748 <a class="header-tips-links-btn" style="margin-right: 0;" href="https://www.cbs58.com/where-to-watch">Donde Mirar</a> 1749 1750 <div class="user-notifications"> 1751 </div> 1752 <button class="main-nav-search-btn"><i class="fa fa-search" aria-hidden="true"></i></button> 1753 </div> 1754 </div><!-- .lg-col-wrapper --> 1755 </nav> 1756 </div><!-- .header-wrapper --> 1757 <div class="alert-container"></div> 1758 1759 </header> 1760 1761 <header> 1762 <div id="main-nav" class="main-nav "> 1763 <div id="main-nav-floating" class="main-nav telemund
1763owi_nav"> 1764 <div class="section-inner lg-col-wrapper clearfix"> 1765 <!-- <span class="main-nav-close-btn"><i class="fa fa-chevron-left" aria-hidden="true"></i> Close</span> --> 1766 <div class="sticky-header-logo"> 1767 <a href="/"> 1768 <img class="logo" src="/images/logo_telemundowi_small.png?v1233" alt="telemundowi Logo"> 1769 </a> 1770 </div> 1771 <ul> 1772 <li class="submenu-wrap"> 1773 1774 <a href="/noticias">Noticias</a> 1775 <ul class="submenu"> 1776 <!-- <li class="submenu-back-btn"><span><i class="fa fa-chevron-left" aria-hidden="true"></i> Back</span></li> --> 1777 <li><a href="/noticias">Noticias Inicio</a></li> 1778 <li><a href="/noticias-locales">Noticias Locales</a></li> 1779 <li><a href="https://www.telemundowi.com/politica"> PolÃtica</a></li> 1780 <li><a href="https://www.telemundowi.com/nuestra-comunidad">Nuestra Comunidad</a></li> 1781 <li><a href="https://www.telemundowi.com/tucomunidadtrabajos">Trabajos</a></li> 1782 </ul> 1783 </li> 1784 <li class="submenu-wrap"> 1785 1786 <a href="/el-tiempo">El Tiempo</a> 1787 <ul class="submenu"> 1788 <!-- <li class="submenu-back-btn"><span><i class="fa fa-chevron-left" aria-hidden="true"></i> Back</span></li> --> 1789 <li><a href="/el-tiempo">El Tiempo Inicio</a></li> 1790 <li><a href="mapa-de-traffico">Mapa de Tráfico</a></li> 1791 <li><a href="https://www.telemundowi.com/escuelas-y-oficinas-cerradas">CIERRES DEBIDO AL CLIMA</a></li> 1792 </ul> 1793 </li> 1794 <li> 1795 1796 <a href="/que-pasa-wisconsin">¡Qué Pasa Wisconsin!</a> 1797 </li> 1798 <li> 1799 1800 <a href="/programacion">Programación</a> 1801 </li> 1802 <li> 1803 1804 <a href="/sorteos">Sorteos</a> 1805 </li> 1806 <li class="submenu-wrap"> 1807 1808 <a href="/acerca-de-nosotros">Acerca de nosotros</a> 1809 <ul class="submenu"> 1810 <!-- <li class="submenu-back-btn"><span><i class="fa fa-chevron-left" aria-hidden="true"></i> Back</span></li> --> 1811 <li><a href="/acerca-de-nosotros">Acerca de nosotros Inicio</a></li> 1812 <li><a href="https://recruiting.paylocity.com/recruiting/jobs/All/9d397aee-0089-45c1-b110-dd8b99143261/Milwaukee">Empleo</a></li> 1813 <li>
1813<a href="https://www.telemundowi.com//programacion">Programación</a></li> 1814 <li><a href="https://www.telemundowi.com/bios">Conozca al equipo</a></li> 1815 <li><a href="https://www.telemundowi.com/contact/">CONTÃCTENOS</a></li> 1816 </ul> 1817 </li> 1818 <li><a href="http://metv.com/setmarket.php?marketID=3" target="_blank" rel="noopener">M<span class="lowercase-text">e</span>TV</a></li> 1819 <div class="header-nav-icons"> 1820 <li class="header-nav-search"> 1821 <i class="fa fa-search"></i> 1822 </li> 1823 </div> 1824 </ul> 1825 </nav> 1826 </div> 1827 <div class="search-bar closed"> 1828 <div class="section-inner lg-col-wrapper"> 1829 <form class="search-form clearfix" action="/search/" method="get" enctype="multipart/form-data"> 1830 <div class="search-bar-input-wrap"> 1831 <input type="text" name="q" placeholder="Search..."> 1832 </div> 1833 <button type="submit" name="submit"><i class="fa fa-chevron-right"></i></button> 1834 </form> 1835 </div> 1836 </div> 1837 </header> 1838 1839 1840 1841 1842 <div id="wrapper" class="clearfix"> 1843 <!-- HIDE TOP ADS FOR TAKEOVERS --> 1844 <div class="header-ads"> 1845 <div id="header-ad-leaderboard" class="header-ad-leaderboard"> 1846 </div> 1847 <div class="header-ad-promo"> 1848 <div id="telemundowi_promo"> 1849 <div id="managed_ad" > 1850 <a id="managed_ad_link" href="https://telemundowi.com/herencia-hispana"> 1851 </a> 1852 </div> 1853
1853<script> 1854 1855 var promoLabel = "Promo"; 1856 promoLabel = "hispanic-heritage-month"; 1857 1858 var width = window.innerWidth || document.documentElement.clientWidth; 1859 if(width > 1250 || width <= 550){ 1860 var image = new Image(); 1861 image.onload = function() { 1862 1863 $('#managed_ad_link').append(image); 1864 }; 1865 if(width > 1250){ 1866 image.width = 452; 1867 image.height = 90; 1868 image.src = "https://newscdn2.weigelbroadcasting.com/pOrcT-1789740171-422-promo_ads-HHM%202022%20banner%20452x90.png"; 1869 1870 }else if(width <= 550){ 1871 image.width = 320; 1872 image.height = 50; 1873 image.src = "https://newscdn2.weigelbroadcasting.com/pOrcT-1789740171-422-promo_ads-HHM%202022%20banner%20452x90.png"; 1874 } 1875 1876 $('#managed_ad_link').on('click', function(e){ 1877 e.preventDefault(); 1878 const href = this.href; 1879 let called = false; 1880 if (window.gtag) { 1881 gtag('event', 'promoclick', { 1882 'event_category': 'PromoAd', 1883 'event_label': promoLabel, 1884 'value': 1, 1885 'non_interaction': true, 1886 'event_callback': function() { 1887 if (!called) { 1888 called = true; 1889 window.location = href; 1890 } 1891 } 1892 }); 1893 } 1894 1895 // in case the callback never fires 1896 setTimeout(() => { 1897 if (!called) window.location = href; 1898 }, 500); 1899 }); 1900 } 1901 </script>
1901 1902 </div> 1903 </div> 1904 </div> 1905 1906 <div id="main-content"> 1907 <div class="content-header"> 1908 <div class="primary-tag"><a href="/noticias-locales"></a></div> 1909 <h1>Se renuncia al incentivo de 5 millones de dólares de Microsoft para centros de datos </h1> 1910 <div class="content-byline"> 1911 <span>Por:</span> 1912 <a class="content-byline-author" href="/bios/gilmarie-morales">Gilmarie Morales</a> 1913 </div> 1914 <div class="content-date-posted"> 1915 <span>Publicado:</span> Sep 29, 2026 7:15 AM CDT </div> 1916 </div> 1917 <div class="content-wrap clearfix"> 1918 1919 <img class="content-header-img" src="https://newscdn2.weigelbroadcasting.com/3kiOu-1790686876-325354-blog-sNnLz-1790681607-325350-blog-vlcsnap-2026-09-29-06h32m19s032_tile.png" /> 1920 <span class="content-header-img-caption">Microsoft de CBS58</span> <div class="content-body"> 1921 <p style="box-sizing: border-box; font-size: 1.9rem; line-height: 2.7rem; color: rgb(0, 0, 0); font-family: "TT Norms Pro"; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(248, 248, 248); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">MOUNT PLEASANT, Wisconsin (TELEMUNDO WI) -- Mount Pleasant utilizará 4.9 millones de dólares, provenientes de un incentivo de desarrollo de Microsoft, para reducir los impuestos a la propiedad a partir de la próxima factura de impuestos, según un anuncio conjunto del lunes 28 de septiembre del municipio, Microsoft y la Corporación de Desarrollo Económico del Condado de Racine.</p><p style="box-sizing: border-box; font-size: 1.9rem; line-height: 2.7rem; color: rgb(0, 0, 0); font-family: "TT Norms Pro"; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(248, 248, 248); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">En virtud de un acuerdo de 2023, Mount Pleasant ofreció a Microsoft hasta 5 millones de dólares anuales una vez que el desarrollo de sus centros de datos generara suficiente valor inmobiliario. Microsoft ya ha alcanzado ese umbral y tiene derecho al pago, pero la compañÃa está redirigiendo el dinero, citando su Iniciativa de Infraestructura de IA con Prioridad a la Comunidad, en virtud de la cual ha declarado que renunciará a los incentivos fiscales locales sobre la propiedad.</p><p style="box-sizing: border-box; font-size: 1.9rem; line-height: 2.7rem; color: rgb(0, 0, 0); font-family: "TT Norms Pro"; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(248, 248, 248); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Del total, 100.000 dólares se destinarán a la Corporación de Desarrollo Económico del Condado de Racine para proyectos de desarrollo económico en todo el condado, y los 4,9 millones de dólares restantes irán al municipio.</p><p style="box-sizing: border-box; font-size: 1.9rem; line-height: 2.7rem; color: rgb(0, 0, 0); font-family: "TT Norms Pro"; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(248, 248, 248); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">El alcalde David DeGroot declaró que los fondos ayudarán a reducir la recaudación de impuestos a partir de 2027 y a cubrir gastos de capital, como obras viales o vehÃculos policiales y de bomberos, sin que el municipio tenga que solicitar préstamos. El personal municipal planea incluir propuestas para la financiación en el presupuesto de 2027, cuya publicación está prevista para octubre, y la Junta Municipal tomará las decisiones finales.</p><p style="box-sizing: border-box; font-size: 1.9rem; line-height: 2.7rem; color: rgb(0, 0, 0); font-family: "TT Norms Pro"; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(248, 248, 248); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Microsoft finalizó la construcción de su primer centro de datos en Mount Pleasant en el verano de 2026, con un segundo en construcción y planes preliminares aprobados para dos campus más.</p> 1922 </div> 1923 <div class="content-native-share"> 1924 <button id="shareBtn" class="share-btn"> 1925 <!-- Example icon using Font Awesome 5+ (solid style) --> 1926 <i class="fas fa-share-square"></i> 1927 Share 1928 </button> 1929</div> 1930 1931 1932<style> 1933 1934.content-native-share{ 1935 padding: 0 4rem; 1936 margin: 0.5rem 0 1.5rem; 1937 font-size: 1.6rem; 1938} 1939 1940@media (max-width: 750px) { 1941 .content-native-share{ 1942 padding: 0px; 1943 } 1944} 1945 1946.share-btn { 1947 color: #fff; 1948 border: none; 1949 padding: 1rem 3.25rem 0.9rem; 1950 font-size: 1.6rem; 1951 font-weight: 700; 1952 display: inline-flex; 1953 cursor: pointer; 1954 transition: background-color 0.2s ease-in-out; 1955} 1956 1957.share-btn i { 1958 margin-right: 0.75rem; 1959 font-size: 1.8rem; 1960 color: white; 1961} 1962</style> 1963 1964 1965 </div> 1966
1967 <div id="telemundowi_middle" class="stories-ad-middle"> 1968
1968<script type='text/javascript'> 1969 googletag.cmd.push(function() { googletag.display('telemundowi_middle'); }); 1970 </script>
1970 1971 </div> 1972 1973 1974 1975 1976 <h1>El Tiempo Wisconsin</h1> 1977 <style> 1978.vjs-control-bar{ 1979 } 1980</style> 1981
1982<script src="/js/toggleswitch/on-off-switch.js?x"></script>
vendor: 1 bytes, line 1982
1982
1983<script src="/js/toggleswitch/on-off-switch-onload.js?y"></script>
1983 1984<link rel="stylesheet" href="/js/toggleswitch/on-off-switch.css?z"> 1985 1986<link rel="stylesheet" href="/js/videojs7/video-js.css?x"> 1987<link rel="stylesheet" href="/js/videojs7/videojs.ads.css" /> 1988<link rel="stylesheet" href="/js/videojs7/videojs.ima.css" /> 1989<style> 1990 .video-close-floating { 1991 z-index: 2147483640 !important; 1992 } 1993.media-container.floating-video.desktop-ad-is-sticky{ 1994 top: 60px; 1995} 1996.media-container.floating-video.desktop-ad-is-sticky-noad{ 1997 top: 50px; 1998} 1999 2000.media-container.floating-video.mobile-ad-is-sticky{ 2001 top: 118px; 2002} 2003.media-container.floating-video.mobile-ad-is-sticky-noad{ 2004 top: 56px; 2005} 2006 2007 2008 2009</style> 2010<!--- DEBUGGING MOBILE ---> 2011 2012 2013 <div id="media-placeholder-327307" class="media-placeholder" style="display:none;overflow:hidden;"> 2014 <img style="width:100%" src="" /> 2015 </div> 2016 2017 <div id="media-container-327307" class="media-container"> 2018 2019 <!-- on mobile display as left right --> 2020 <div class="mobile-flexbox-video-splitter"> 2021 <div class="hlsvideo-wrapper clearfix"> 2022 <video poster="https://videopostercdn.weigelbroadcasting.com/telemundowi/el tiempo_1790643571-TELEMUNDO 980x551.jpg?1790643626" id="html5-video-327307" muted 2023 class="video-js vjs-16-9 vjs-big-play-centered vjs-show-big-play-button-on-pause" 2024 style="cursor:pointer;" controls crossorigin="anonymous"> 2025 <track kind="captions" src="https://wsocdn.weigelbroadcasting.com/telemundowi/el%20tiempo_1790643571/captions-en.vtt" srclang="es" label="Spanish" /> 2026 <source src="https://wsocdn.weigelbroadcasting.com/telemundowi/el%20tiempo_1790643571/el%20tiempo_1790643571.m3u8" type="application/x-mpegURL"> 2027 2028 <p class="vjs-no-js"> 2029 To view this video please enable JavaScript, and consider upgrading to a web browser that 2030 <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a> 2031 </p> 2032 </video> 2033 </div><!-- .hlsvideo-content --> 2034 </div> 2035 2036 2037 2038 2039 2040 </div> 2041 2042
2042<script src='/js/videojs7/can-autoplay.js?xx'></script>
2042 2043
2043<script src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
2043 2044
2044<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/video.min.js"></script>
2044 2045
2045<script src="/js/videojs7/videojs.ads.min.js?v1233"></script>
2045 2046
2046<script src="/js/videojs7/videojs.ima.js?v1233"></script>
2046 2047 2048
2048<script> 2049 var __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; 2050 var WVM = WVM || {}; 2051 2052 WVM.SITE_NAME = "telemundowi"; 2053 WVM.IS_STREAMING = false; 2054 2055 var sentErrors = new Set(); 2056 WVM.detectIE = function(){ 2057 2058 }; 2059 if(!WVM.custParams){ 2060 var VIDEO_WIDTH = $("#media-placeholder-327307").width(); 2061 var VIDEO_HEIGHT = Math.floor(VIDEO_WIDTH * (9 / 16)); 2062 var MAIN_TAG = ""; 2063 MAIN_TAG = "noticias-locales"; 2064 var pageTags = [ 2065 "noticias-locales", "NOTICIAS LOCALES", "NOTICIAS LOCALES" ]; 2066 2067 var ALL_THE_TAGS = encodeURIComponent( pageTags.join(',') ); 2068 2069 var isMobile2 = 'no'; 2070 var url = 'telemundowi'; 2071 2072 WVM.custParams = '&cust_params=site%3D' + url + '%26ismobile%3D' + isMobile2 + '%26page%3D' + '%26playerwidth%3D' + VIDEO_WIDTH + '%26playerheight%3D' + VIDEO_HEIGHT + '%26tag%3D' + ALL_THE_TAGS + '%26video_id%3D327307'; 2073 } 2074 2075 WVM.getAdTagUrl = function(){ 2076 var adTag = ''; 2077 if(WVM.SITE_NAME == 'telemundowi'){ 2078 adTag = 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/7089059/telemundowi_video_pre_roll&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=[referrer_url]&description_url=[description_url]&correlator=[timestamp]' + WVM.custParams; 2079 }else if(WVM.SITE_NAME == 'cbs58'){ 2080 adTag = 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/7089059/cbs58_video_pre_roll&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=[referrer_url]&description_url=[description_url]&correlator=[timestamp]' + WVM.custParams; 2081 } 2082 else if(WVM.SITE_NAME == 'abc57'){ 2083 adTag = 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/7089059/abc57_video_pre_roll&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=[referrer_url]&description_url=[description_url]&correlator=[timestamp]' + WVM.custParams; 2084 } 2085 return adTag; 2086 }; 2087 var npaValue = (navigator.globalPrivacyControl) ? '1' : '0'; 2088 var rdpParam = (npaValue === '1') ? '&rdp=1' : ''; 2089 2090 WVM.getFirstPrerollUrl = function(){ 2091 var adTag = ''; 2092 if(WVM.SITE_NAME == 'telemundowi'){ 2093 adTag = 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/7089059/telemundowi_video_pre_roll&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&npa=' + npaValue + '&url=[referrer_url]&description_url=[description_url]&correlator=[timestamp]' + rdpParam + WVM.custParams; 2094 }else if(WVM.SITE_NAME == 'cbs58'){ 2095 adTag = 'https://pubads.g.doubleclick.net/gampad/live/ads?iu=/7089059/CBS58_RevFirstPreRoll&description_url=https%3A%2F%2Fwww.cbs58.com&env=vp&impl=s&correlator=&tfcd=0&npa=' + npaValue + '&gdfp_req=1&output=vast&sz=640x480&unviewed_position_start=1&correlator=[timestamp]' + rdpParam + WVM.custParams; 2096 } 2097 else if(WVM.SITE_NAME == 'abc57'){ 2098 adTag = 'https://pubads.g.doubleclick.net/gampad/live/ads?iu=/7089059/ABC57_FirstPreroll&description_url=https%3A%2F%2Fwww.abc57.com&env=vp&impl=s&correlator=&tfcd=0&npa=' + npaValue + '&gdfp_req=1&output=vast&sz=640x480&unviewed_position_start=1&correlator=[timestamp]' + rdpParam + WVM.custParams; 2099 } 2100 return adTag; 2101 }; 2102 WVM.firstPrerollTagUrl = WVM.firstPrerollTagUrl || WVM.getFirstPrerollUrl(); 2103 WVM.adTagUrl = WVM.adTagUrl || WVM.getAdTagUrl(); 2104 2105 2106//WVM.adTagUrl = 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dskippablelinear&correlator=[timestamp]'; 2107 2108 2109 2110 console.log(WVM.firstPrerollTagUrl); 2111 console.log(WVM.adTagUrl); 2112 2113 2114 WVM.activePlayer = WVM.activePlayer || null; 2115 WVM.activeVideoId = WVM.activeVideoId || null; 2116 WVM.lastAdRequest = WVM.lastAdRequest || null; 2117 WVM.lastLoadedVideo = new Date().getTime() / 1000;
2118 WVM.device_name = 'desktop'; 2119 if(!WVM.playlist_ids || WVM.playlist_ids.length <= 0){ 2120 WVM.playlist_index = -1; 2121 WVM.playlist_ids = new Array(); 2122 2123 for(var x = 0;x < WVM.playlist_ids.length; x++){ 2124 if(WVM.playlist_index == WVM.playlist_ids[x]){ 2125 WVM.playlist_index = x; 2126 } 2127 } 2128 } 2129 2130 WVM.ACTIVE_PLAYING = false; 2131 WVM.bottomStoryAdStarted = WVM.bottomStoryAdStarted || false; 2132 WVM.videoads = null; 2133 WVM.useMobilePlayer = WVM.useMobilePlayer || null; 2134 if(WVM.activeVideoId == null){ 2135 WVM.activeVideoId = 327307; 2136 } 2137 2138 WVM.player327307 = null; 2139 WVM.player_settings327307 = { 2140 autoplay_next : true , 2141 slider : null 2142 }; 2143 WVM.player_state327307 = { 2144 IS_PLAYING: false, 2145 PLAYER_META : false, 2146 PLAYER_READY : false, 2147 CAROUSEL_INIT : false, 2148 AD_IS_PLAYING: false, 2149 AD_ERROR: false, 2150 VIDEO_ID : 327307, 2151 ORIGINAL_ID : 327307, 2152 VIDEO_URL : "el-tiempo", 2153 VIDEO_TITLE: "", 2154 START_SENT: false, 2155 CANCEL_FLOATING: true, 2156 COMPLETE_EVENT: null, 2157 SPINNER_TIMEOUT: null, 2158 STALL_CHECK: null, 2159 PERCENTS_TRACKED : [] 2160 }; 2161 WVM.playlist_data327307 = JSON.parse('[]'); 2162 2163 WVM.getPlaylistData = function(playerId, mediaId, fieldName){ 2164 var data = WVM['playlist_data' + playerId]; 2165 var retVal = null; 2166 $.each(data, function(i,item){ 2167 //console.log("item "); 2168 //console.log(item); 2169 //console.log("mediaId " + mediaId + " VS " + item['video_id']); 2170 if(item['video_id'] == mediaId){ 2171 //console.log("match"); 2172 retVal = item[fieldName]; 2173 } 2174 }); 2175 if(retVal == null){ 2176 //alert("null field " + playerId + " fieldName " + fieldName); 2177 } 2178 return retVal; 2179 }; 2180 2181 WVM.addMuteButton = function(videoId, player, hideClose){ 2182 if(WVM.player_state327307.PLAYER_READY && (WVM.player_state327307.PLAYER_META || WVM.IS_STREAMING)){ 2183 2184 var $videoEl = $('#html5-video-' + videoId); //Video element 2185 $videoEl.append('<div class="mute-overlay"><div class="force-vcenter"><span class="fa-stack fa-lg">' + 2186 '<i class="fa fa-volume-off fa-stack-1x"></i>' + 2187 '<i class="fa fa-times fa-stack-1x"></i>' + 2188 '</span><span class="mute-overlay-text"> UNMUTE</span></div></div>'); 2189 2190 if(!WVM.IS_STREAMING){ 2191 $videoEl.append('<a class="video-close-floating" href="javascript:void(0)">' + 2192 '<i class="fa fa-times-circle-o"></i>' + 2193 '</a>'); 2194 } 2195 setTimeout(function(){ 2196 $('.mute-overlay').on('touchstart click', function(e){ 2197 if(e.handled === false) return; 2198 e.stopPropagation(); 2199 e.preventDefault(); 2200 e.handled = true; 2201 2202 player.muted(false); 2203 //console.log("volumee " + WVM.activePlayer.volume()); 2204 $(this).hide(); 2205 $(this).css('display', 'none'); 2206 var currentTime = player.currentTime(); 2207 if(currentTime < 3){ 2208 player.currentTime(0); 2209 } 2210 var vol = player.volume() || 1; 2211 player.volume(vol); 2212 player.muted(false); 2213 if(player.ima && player.ima.controller){ 2214 player.ima.controller.setVolume(vol); 2215 if(player.ima.controller.adUi){ 2216 player.ima.controller.adUi.unmute(); 2217 } 2218 } 2219 var adsManager = player.ima.getAdsManager(); 2220 if(adsManager){ 2221 adsManager.setVolume(vol); 2222 } 2223 //SDK can leave the ad's own media element muted after autoplay-muted ads 2224 $('.ima-ad-container video, .ima-ad-container audio').each(function(){ 2225 this.muted = false;
2226 this.volume = vol; 2227 }); 2228 }); 2229 2230 $('.video-close-floating').on('click', function(){ 2231 WVM['player_state' + videoId]['CANCEL_FLOATING'] = true; 2232 WVM.IS_FLOATING = false; 2233 $('#media-container-' + videoId).css('width', "100%"); 2234 $('#media-container-' + videoId).removeClass('floating-video'); 2235 $('#media-placeholder-' + videoId).css('display', 'none'); 2236 player.pause(); 2237 player.ima.getAdsManager().pause(); 2238 }); 2239 if(hideClose){ 2240 setTimeout(function(){ 2241 $('.video-close-floating').css('display', 'none'); 2242 $('.video-close-floating').remove(); 2243 }, 500); 2244 } 2245 }, 500); 2246 } 2247 else{ 2248 //wait 500 sec call again 2249 setTimeout(function(){ 2250 WVM.addMuteButton(videoId, player, hideClose); 2251 }, 500); 2252 } 2253 2254 }; 2255 2256 WVM.addFloatingAbility = function(videoId, player){ 2257 var deviceName = 'desktop'; 2258 if($('#media-container-' + videoId).length > 0){ 2259 if(deviceName == 'desktop'){ 2260 WVM.VIDEO_TOP = $('#media-container-' + videoId).offset().top; 2261 }else{ 2262 WVM.VIDEO_TOP = $('#media-container-' + videoId).offset().top - $('.next-dropdown-accordion').height(); 2263 } 2264 if(deviceName == 'desktop'){ 2265 WVM.VIDEO_HEIGHT = $('#html5-video-' + videoId).outerHeight(); 2266 }else{ 2267 WVM.VIDEO_HEIGHT = $('#html5-video-' + videoId).outerHeight(); 2268 } 2269 WVM.CONTAINER_HEIGHT = $('#media-container-' + videoId).height(); 2270 //console.log("container height: " + WVM.CONTAINER_HEIGHT); 2271 $(window).on( "resize", function() { 2272 if(deviceName == 'desktop'){ 2273 WVM.VIDEO_TOP = $('#media-container-' + videoId).offset().top; 2274 }else{ 2275 WVM.VIDEO_TOP = $('#media-container-' + videoId).offset().top - $('.next-dropdown-accordion').height(); 2276 } 2277 if(deviceName == 'desktop'){ 2278 WVM.VIDEO_HEIGHT = $('#html5-video-' + videoId).outerHeight(); 2279 }else{ 2280 WVM.VIDEO_HEIGHT = $('#html5-video-' + videoId).outerHeight(); 2281 } 2282 WVM.CONTAINER_HEIGHT = $('#media-container-' + videoId).height(); 2283 console.log("container height: " + WVM.CONTAINER_HEIGHT); 2284 }); 2285 2286 2287 //console.log("VIDEOTOP: " + WVM.VIDEO_TOP); 2288 //console.log("VIDEOHEIGHT: " + WVM.VIDEO_HEIGHT); 2289 2290 $(window).on( "scroll", function() { 2291 if(!WVM.IS_FLOATING){ 2292 if(deviceName == 'desktop'){ 2293 WVM.CONTAINER_HEIGHT = $('#media-container-' + videoId).height(); 2294 }else{ 2295 WVM.CONTAINER_HEIGHT = $('#media-container-' + videoId + " .hlsvideo-wrapper").height() + 2296 $('#media-container-' + videoId + " .now-playing-container").height(); 2297 } 2298 } 2299 2300 2301 //var top = $('#media-container-' + videoId).offset().top; 2302 var offset = WVM.VIDEO_TOP + (WVM.VIDEO_HEIGHT / 2); 2303 var offsetBack = WVM.VIDEO_TOP; 2304 var changed = false; 2305 //console.log("VIDEOTOP: " + WVM.VIDEO_TOP); 2306 //console.log("VIDEOHEIGHT: " + WVM.VIDEO_HEIGHT); 2307 //console.log("scrolltop " + $(window).scrollTop()); 2308 //only float if playing 2309 var isPlaying = WVM['player_state' + videoId]['IS_PLAYING'] || WVM['player_state' + videoId]['AD_IS_PLAYING']; 2310 if(isPlaying){ 2311 $('.vjs-loading-spinner').hide(); 2312 } 2313 2314 var offsetFloatAd = 99999999; 2315 if(deviceName == 'desktop' && $('#float_anchor').length > 0){ 2316 offsetFloatAd = $('#float_anchor').offset().top - WVM.VIDEO_HEIGHT; 2317 //console.log("float anchor offset top " + offsetFloatAd); 2318 2319 } 2320 2321 2322 if($(window).scrollTop() > offset && isPlaying && !WVM['player_state' + videoId]['CANCEL_FLOATING']){ 2323 $('#media-placeholder-' + videoId).height(WVM.CONTAINER_HEIGHT); 2324 $('#media-placeholder-' + videoId).css('display', 'block'); 2325 if(!WVM.IS_FLOATING){ 2326 changed = true; 2327 } 2328 WVM.IS_FLOATING = true; 2329 $('#media-container-' + videoId).addClass('floating-video'); 2330 2331 var sWidth = window.innerWidth || document.documentElement.clientWidth; 2332 var sHeight = window.innerHeight || document.documentElement.clientHeight; 2333 if(sWidth > 900 && WADS.IS_STICKING){ 2334 $('#media-container-' + videoId).addClass('desktop-ad-is-sticky'); 2335 } 2336 else if(WADS.IS_STICKING){ 2337 if(!WADS.TOP_AD_VIEWED){ 2338 $('#media-container-' + videoId).addClass('mobile-ad-is-sticky'); 2339 }else{ 2340 $('#media-container-' + videoId).addClass('mobile-ad-is-sticky-noad'); 2341 } 2342 } 2343 else if(!WADS.IS_STICKING){ 2344 if(!WADS.TOP_AD_VIEWED){ 2345 $('#media-container-' + videoId).removeClass('desktop-ad-is-sticky'); 2346 }else{ 2347 $('#media-container-' + videoId).addClass('desktop-ad-is-sticky-noad'); 2348 } 2349 } 2350 2351 //set right 2352 var sWidth = window.innerWidth || document.documentElement.clientWidth; 2353 var sHeight = window.innerHeight || document.documentElement.clientHeight; 2354 if(deviceName == 'desktop' || sWidth > 900){ 2355 var leftPos2 = $('aside').get(0).getBoundingClientRect().left; 2356 var leftPos = $('aside').offset().left ; 2357 $('#media-container-' + videoId).css('left', leftPos + "px"); 2358 var newWidth = Math.floor(sWidth / 3.5); 2359 $('#media-container-' + videoId).css('width', newWidth + "px"); 2360 2361 } 2362 else{ 2363 $('#media-container-' + videoId).css('width', "100% !important"); 2364 $('#media-container-' + videoId + ' .now-playing-container').css('display', 'block'); 2365 $('#media-container-' + videoId + ' .next-dropdown-accordion').css('display', 'block'); 2366 } 2367 2368 2369 //floating-video 2370 $('#media-container-' + videoId + " " + '.page-carousel-wrapper').hide(); 2371 setTimeout(function(){ 2372 var hWrapper = $('.floating-video .hlsvideo-wrapper').height(); 2373 var npWidth = $('.floating-video .now-playing-container').height(); 2374 var ndWidth = $('.floating-video .next-dropdown-header').height() + 20; 2375 var scrollerHeight = sHeight - (hWrapper + npWidth + ndWidth); 2376 scrollerHeight = 180; 2377 //scrollerHeight = parseInt(scrollerHeight * 0.5); 2378 if(WVM.device_name == 'desktop'){ 2379 $('#media-container-' + videoId + " " + " .mobile-list-videos").height(scrollerHeight); 2380 } 2381 }, 100); 2382 }else if($(window).scrollTop() < offsetBack){ 2383 if(WVM.IS_FLOATING){ 2384 changed = true; 2385 } 2386 WVM.IS_FLOATING = false; 2387 $('#media-container-' + videoId).css('width', "100%"); 2388 $('#media-container-' + videoId).removeClass('floating-video'); 2389 $('#media-placeholder-' + videoId).css('display', 'none'); 2390 $('#media-container-' + videoId + ' .now-playing-container').css('display', 'block'); 2391 } 2392 2393 2394 2395 if($('#next-dropdown-accordion-button-' + videoId).find('i').hasClass('fa-chevron-up')){ 2396 //console.log("show it"); 2397 if(deviceName == "desktop" && !$('#media-container-' + videoId).hasClass('floating-video')){ 2398 $('#media-container-' + videoId + " " + '.page-carousel-wrapper').show(); 2399 $('#media-container-' + videoId + " " + '.mobile-list-wrapper').hide(); 2400 //console.log("showing desktop"); 2401 if(!WVM.player_state327307['CAROUSEL_INIT']){ 2402 WVM.setupCarousel(videoId); 2403 } 2404 2405 }else{ 2406 if(changed){ 2407 //default closed for mobile/floating player 2408 $('#next-dropdown-accordion-button-' + videoId).find('i').removeClass('fa-chevron-up'); 2409 $('#next-dropdown-accordion-button-' + videoId).find('i').addClass('fa-chevron-down'); 2410 $('#media-container-' + videoId + " " + '.page-carousel-wrapper').hide(); 2411 $('#media-container-' + videoId + " " + '.mobile-list-wrapper').hide(); 2412 var currVideoId = WVM['player_state' + videoId]['VIDEO_ID']; 2413 var nextVideoId = WVM.getNextPlaylistIndex(currVideoId); 2414 var myTitle = WVM.getPlaylistData(videoId, currVideoId, 'noprefixtitle'); 2415 2416 $('#video-slider-nexttitle' + videoId).css('display', 'inline'); 2417 $('#video-slider-nexttitle' + videoId).html(myTitle); 2418 }else{ 2419 $('#media-container-' + videoId + " " + '.page-carousel-wrapper').hide(); 2420 $('#media-container-' + videoId + " " + '.mobile-list-wrapper').show(); 2421 } 2422 } 2423 }else{ 2424 $('#media-container-' + videoId + " " + '.page-carousel-wrapper').hide(); 2425 $('#media-container-' + videoId + " " + '.mobile-list-wrapper').hide(); 2426 } 2427 } ); 2428 2429 $('#media-container-' + videoId + ' .video-close').on('click',function(){ 2430 //set back to paused and stop floating 2431 WVM['player_state' + videoId]['CANCEL_FLOATING'] = true; 2432 WVM.IS_FLOATING = false; 2433 $('#media-container-' + videoId).css('width', "100%"); 2434 $('#media-container-' + videoId).removeClass('floating-video'); 2435 $('#media-placeholder-' + videoId).css('display', 'none'); 2436 player.pause(); 2437 player.ima.getAdsManager().pause(); 2438 //$(".now-playing-container").fadeOut(100); 2439 //$(".mobile-flexbox-video-splitter").addClass("full-width"); 2440 }); 2441 2442 2443 2444 } 2445 }; 2446 2447 WVM.setupCarousel = function(fullVideoId, player){ 2448 // initialize Masonry after all images have loaded 2449 //alert("setting up carousel"); 2450 $('#page-carousel-' + fullVideoId).css('display', 'block'); 2451 WVM['player_state' + fullVideoId]['CAROUSEL_INIT'] = true; 2452 if($('#page-carousel-' + fullVideoId).length > 0){ 2453 var container = document.querySelector('#page-carousel-' + fullVideoId); 2454 imagesLoaded( container, function() { 2455 var screenWidth = window.innerWidth || document.documentElement.clientWidth; 2456 if(screenWidth > 850){ 2457 WVM.IS_DESKTOP = true; 2458 $('#page-carousel-' + fullVideoId + ' .page-carousel-lg-slides').css('display', 'block'); 2459 2460 WVM['player_settings' + fullVideoId].slider = $('#page-carousel-' + fullVideoId).bxSlider({ 2461 maxSlides: 4, 2462 minSlides: 4, 2463 slideWidth: 305, 2464 infiniteLoop: false, 2465 hideControlOnEnd: true, 2466 useCSS: true, 2467 pager: false, 2468 slideMargin: 15, 2469 moveSlides: 1, 2470 nextText: '<span class="page-next-slide"><i class="fa fa-chevron-right"></i></span>', 2471 prevText: '<span class="page-prev-slide"><i class="fa fa-chevron-left"></i></span>' 2472 }); 2473 }else{ 2474 WVM.IS_DESKTOP = false;
2475 $('.page-carousel-wrapper').css('display', 'block'); 2476 } 2477 }); 2478 } 2479 2480 2481 }; 2482 2483 WVM.setupToggleButton = function(fullVideoId, player){ 2484 if($('.nextplay-switch-' + fullVideoId).length > 0){ 2485 new DG.OnOffSwitchAuto({ 2486 cls:'.nextplay-switch-' + fullVideoId, 2487 height: 24, 2488 trackColorOn:'#F9F9F9', 2489 trackColorOff:'#222', 2490 textColorOn: '#222', 2491 textColorOff: '#222', 2492 textOn:'On', 2493 textOff:'Off', 2494 listener:function(name, checked){ 2495 var theVal = 1; 2496 if(!checked){ 2497 theVal = 0; 2498 } 2499 2500 $.ajax({ 2501 url: '/ajax/update_autoplay_video/', 2502 data: { 2503 autoplay_on: theVal 2504 }, 2505 type: 'POST', 2506 dataType: 'json', 2507 success: function(data) 2508 { 2509 WVM['player_settings' + fullVideoId]['autoplay'] = checked; 2510 }, 2511 error : function(){ 2512 console.log("Error loading video"); 2513 } 2514 }); 2515 } 2516 }); 2517 } 2518 }; 2519 2520 2521 WVM.setupAccordionButton = function(fullVideoId){ 2522 var deviceName = 'desktop'; 2523 $('#next-dropdown-accordion-button-' + fullVideoId).on('click', function(){ 2524 if($(this).find('i').hasClass('fa-chevron-up')){ 2525 //hide 2526 $(this).find('i').removeClass('fa-chevron-up'); 2527 $(this).find('i').addClass('fa-chevron-down'); 2528 if(deviceName == "desktop" && !$('#media-container-' + fullVideoId).hasClass('floating-video')){ 2529 $('#media-container-' + fullVideoId + " " + '.page-carousel-wrapper').slideUp(); 2530 $('#media-container-' + fullVideoId + " " + '.mobile-list-wrapper').hide(); 2531 2532 2533 }else{ 2534 $('#media-container-' + fullVideoId + " " + '.mobile-list-wrapper').slideUp(); 2535 $('#media-container-' + fullVideoId + " " + '.page-carousel-wrapper').hide(); 2536 } 2537 var currVideoId = WVM['player_state' + fullVideoId]['VIDEO_ID']; 2538 var nextVideoId = WVM.getNextPlaylistIndex(currVideoId); 2539 //playerId, mediaId, fieldName 2540 var myTitle = WVM.getPlaylistData(fullVideoId, nextVideoId, 'noprefixtitle'); 2541 //alert("Getting title " + myTitle); 2542 $('#video-slider-nexttitle' + fullVideoId).css('display', 'inline'); 2543 $('#video-slider-nexttitle' + fullVideoId).html(myTitle); 2544 }else{ 2545 //expand 2546 $(this).find('i').addClass('fa-chevron-up'); 2547 $(this).find('i').removeClass('fa-chevron-down'); 2548 $('#media-container-' + fullVideoId + " " + '.mobile-list-wrapper').css('display', 'block'); 2549 if(deviceName == "desktop" && !$('#media-container-' + fullVideoId).hasClass('floating-video')){ 2550 $('#media-container-' + fullVideoId + " " + '.page-carousel-wrapper').css('display', 'block'); 2551 $('#media-container-' + fullVideoId + " " + '.page-carousel-wrapper').slideDown(); 2552 $('#media-container-' + fullVideoId + " " + '.mobile-list-wrapper').hide(); 2553 if(!WVM.player_state327307['CAROUSEL_INIT']){ 2554 WVM.setupCarousel(fullVideoId); 2555 } 2556 2557 }else{ 2558 $('#media-container-' + fullVideoId + " " + '.mobile-list-wrapper').slideDown(); 2559 $('#media-container-' + fullVideoId + " " + '.page-carousel-wrapper').hide(); 2560 2561 if(!$('#media-container-' + fullVideoId).hasClass('floating-video')){ 2562 if(!WVM.player_state327307['CAROUSEL_INIT']){ 2563 WVM.setupCarousel(fullVideoId); 2564 } 2565 } 2566 } 2567 2568 $('#video-slider-nexttitle' + fullVideoId).css('display', 'none'); 2569 } 2570 }); 2571 var currVideoId = WVM['player_state' + fullVideoId]['VIDEO_ID']; 2572 //console.log("current Video " + currVideoId); 2573 var nextVideoId = WVM.getNextPlaylistIndex(currVideoId); 2574 var myTitle = WVM.getPlaylistData(fullVideoId, nextVideoId, 'noprefixtitle'); 2575 //console.log("setting title " + myTitle); 2576 $('#video-slider-nexttitle' + fullVideoId).css('display', 'inline'); 2577 $('#video-slider-nexttitle' + fullVideoId).html(myTitle); 2578 2579 }; 2580 WVM.sendbeacon = function(action, nonInteraction, value, eventLabel) { 2581 var eventCategory = 'Video'; 2582 if (window.gtag) { 2583 //console.log("sending action: " + action + " val: " + value + " label " + eventLabel); 2584 gtag('event', action, { 2585 'eventCategory': eventCategory, 2586 'eventLabel': eventLabel, 2587 'eventValue': value, 2588 'nonInteraction': nonInteraction 2589 }); 2590 } 2591 }; 2592 2593 WVM.getNextPlaylistIndex = function(mediaId, returnArrayIndex){ 2594 var currId = null; 2595 if(mediaId == null){ 2596 return null; 2597 } 2598 for(var x =0; x < WVM.playlist_ids.length; x++){ 2599 var myMediaId = WVM.playlist_ids[x];
2600 if(myMediaId == mediaId){ 2601 currId = myMediaId; 2602 break; 2603 } 2604 } 2605 var nextId = x + 1; 2606 2607 if(nextId < WVM.playlist_ids.length && currId !== null){ 2608 if(!returnArrayIndex){ 2609 return WVM.playlist_ids[nextId]; 2610 }else{ 2611 return nextId; 2612 } 2613 } 2614 return null; 2615 }; 2616 2617 WVM.getPlaylistArrayId = function(mediaId){ 2618 for(var x =0; x < WVM.playlist_ids.length; x++){ 2619 var myMediaId = WVM.playlist_ids[x]; 2620 if(myMediaId == mediaId){ 2621 return x; 2622 } 2623 } 2624 return null; 2625 }; 2626 2627 2628 //Stats overlay, toggled with ?videostats=1 . Reads numbers straight off VHS. 2629 if(!WVM.setupVideoStats){ 2630 WVM.hasVideoStats = (function(){ 2631 try { return /[?&]videostats=1(&|$)/.test(window.location.search); } 2632 catch(e){ return false; } 2633 })(); 2634 WVM.setupVideoStats = function(player, playerState){ 2635 if(!WVM.hasVideoStats || player.__videoStatsInit){ return; } 2636 player.__videoStatsInit = true; 2637 var videoId = playerState.ORIGINAL_ID; 2638 2639 var rebufferCount = 0; 2640 player.on('waiting', function(){ 2641 //waiting while we think we're playing (and not in an ad) == a rebuffer 2642 if(!player.paused() && !playerState.AD_IS_PLAYING){ rebufferCount++; } 2643 }); 2644 2645 var $wrapper = $('#html5-video-' + videoId).closest('.hlsvideo-wrapper'); 2646 if($wrapper.length === 0){ $wrapper = $('#html5-video-' + videoId).parent(); } 2647 $wrapper.css('position', 'relative'); 2648 2649 var $box = $('<div class="video-stats-overlay"></div>'); 2650 $box.css({ 2651 position: 'absolute', top: '8px', left: '8px', zIndex: 2147483646, 2652 background: 'rgba(0,0,0,0.72)', color: '#0f0', 2653 font: '11px/1.4 monospace', padding: '6px 8px', borderRadius: '4px', 2654 whiteSpace: 'pre', pointerEvents: 'none', maxWidth: '95%', 2655 textShadow: '0 0 2px #000' 2656 }); 2657 $wrapper.append($box); 2658 2659 var fmtMbps = function(bps){ 2660 if(bps === null || bps === undefined || isNaN(bps)){ return 'n/a'; } 2661 return (bps/1000000).toFixed(2) + ' Mbps'; 2662 }; 2663 var fmtBytes = function(b){ 2664 if(b === null || b === undefined || isNaN(b)){ return 'n/a'; } 2665 var u = ['B','KB','MB','GB'], i = 0; 2666 while(b >= 1024 && i < u.length-1){ b /= 1024; i++; } 2667 return b.toFixed(1) + ' ' + u[i]; 2668 }; 2669 2670 var tickCount = 0; 2671 var update = function(){ 2672 var lines = []; 2673 //heartbeat: advances every interval tick regardless of player/video state. 2674 //If this keeps moving during a freeze, JS is alive and the player/network is stuck; 2675 //if this also freezes, the main JS thread is blocked. 2676 tickCount++; 2677 lines.push('tick : ' + tickCount + ' @ ' + new Date().toLocaleTimeString()); 2678 var tech = null, vhs = null; 2679 try { tech = player.tech({IWillNotUseThisInPlugins:true}); } catch(e){} 2680 //VHS can live on player.vhs, tech.vhs/hls, or the tech's active sourceHandler_ 2681 vhs = player.vhs || (tech && (tech.vhs || tech.hls)) || null; 2682 if(!vhs && tech && tech.sourceHandler_ && 2683 (tech.sourceHandler_.stats || tech.sourceHandler_.playlists)){ 2684 vhs = tech.sourceHandler_; 2685 } 2686 2687 var rendition = 'n/a'; 2688 if(vhs && vhs.playlists && typeof vhs.playlists.media === 'function'){ 2689 var media = vhs.playlists.media(); 2690 if(media && media.attributes){ 2691 var res = media.attributes.RESOLUTION; 2692 var bw = media.attributes.BANDWIDTH; 2693 rendition = (res ? res.width + 'x' + res.height : '?') + 2694 (bw ? ' @ ' + fmtMbps(bw) : ''); 2695 } 2696 } 2697 if(rendition === 'n/a'){ 2698 //no VHS ladder (progressive MP4 or native HLS): show the element's real resolution 2699 var rel = tech ? tech.el() : null; 2700 if(rel && rel.videoWidth){ 2701 rendition = rel.videoWidth + 'x' + rel.videoHeight + ' (current, no ABR)'; 2702 } 2703 } 2704 lines.push('rendition : ' + rendition); 2705 2706 var measured = (vhs && vhs.stats) ? vhs.stats.bandwidth : 2707 (vhs ? vhs.bandwidth : null); 2708 var measuredStr = fmtMbps(measured); 2709 //only show bandwidth when we actually have a number (VHS); hide the line otherwise 2710 if(measuredStr !== 'n/a'){ 2711 lines.push('bandwidth : ' + measuredStr); 2712 } 2713 2714 var buffAhead = 0; 2715 try { buffAhead = player.bufferedEnd() - player.currentTime(); } catch(e){} 2716 lines.push('buffer : ' + (isFinite(buffAhead) ? buffAhead.toFixed(1) : '0.0') + ' s ahead'); 2717 2718 var vel = tech ? tech.el() : null; 2719 if(vel && typeof vel.getVideoPlaybackQuality === 'function'){ 2720 var q = vel.getVideoPlaybackQuality(); 2721 lines.push('frames : ' + q.droppedVideoFrames + ' dropped / ' + q.totalVideoFrames + ' total'); 2722 } else if(vel && vel.webkitDroppedFrameCount !== undefined){ 2723 lines.push('frames : ' + vel.webkitDroppedFrameCount + ' dropped / ' + vel.webkitDecodedFrameCount + ' total'); 2724 } 2725 2726 lines.push('rebuffers : ' + rebufferCount); 2727 2728 if(vhs && vhs.stats){ 2729 lines.push('segments : ' + (vhs.stats.mediaRequests || 0) + ' req / ' + (vhs.stats.mediaRequestsErrored || 0) + ' err'); 2730 lines.push('data : ' + fmtBytes(vhs.stats.mediaBytesTransferred)); 2731 } 2732 2733 if(player.liveTracker && player.liveTracker.isLive && player.liveTracker.isLive()){ 2734 var lat = 'n/a'; 2735 try { lat = (player.liveTracker.liveCurrentTime() - player.currentTime()).toFixed(1) + ' s'; } catch(e){} 2736 lines.push('live edge : ' + lat + ' behind'); 2737 } else { 2738 var ct = 0, dur = 0; 2739 try { ct = player.currentTime(); dur = player.duration(); } catch(e){} 2740 lines.push('time : ' + (ct||0).toFixed(1) + ' / ' + (isFinite(dur) ? dur.toFixed(1) : '?') + ' s'); 2741 } 2742 2743 var st = playerState.AD_IS_PLAYING ? 'AD' : (player.paused() ? 'paused' : 'playing'); 2744 lines.push('state : ' + st); 2745 2746 //diagnostic: what source is loaded and did VHS engage on it
2747 var srcType = ''; 2748 try { var cs = player.currentSource(); srcType = cs ? (cs.type || cs.src) : ''; } catch(e){} 2749 lines.push('source : ' + (srcType || '?')); 2750 lines.push('vhs : ' + (vhs ? 'attached' : 'MISSING (no HLS engine)')); 2751 2752 if(!WVM.__videoStatsLogged){ 2753 WVM.__videoStatsLogged = true; 2754 console.log('[videostats] currentSource=', (function(){ try { return player.currentSource(); } catch(e){ return e; } })()); 2755 console.log('[videostats] player.vhs=', player.vhs, ' tech.vhs=', (tech && tech.vhs), ' tech.hls=', (tech && tech.hls)); 2756 } 2757 2758 $box.text(lines.join('\n')); 2759 }; 2760 2761 update(); 2762 var statsInterval = setInterval(update, 1000); 2763 player.on('dispose', function(){ clearInterval(statsInterval); }); 2764 }; 2765 } 2766 2767 2768 //unimportant stuff like tracking... don't put anything platform specific here 2769 WVM.finishPlayer = function(player, playerState, playerSettings){ 2770 var percentsPlayedInterval = 25; 2771 WVM.setupVideoStats(player, playerState); 2772 2773 //player.off('loadedmetadata'); 2774 player.on('loadedmetadata', function(){ 2775 if(playerState.PLAYER_META){ 2776 return; 2777 } 2778 playerState.PLAYER_META = true; 2779 WVM.sendbeacon("loadedmetadata", true, playerState.VIDEO_ID, playerState.VIDEO_TITLE); 2780 }); 2781 2782 //player.off('ready'); 2783 player.on('ready', function(){ 2784 playerState.PLAYER_READY = true; 2785 }); 2786 2787 //player.off(['waiting', 'pause']); 2788 2789 player.on(['waiting', 'pause'], function(e) { 2790 playerState.IS_PLAYING = false; 2791 if(WVM.IS_STREAMING){ 2792 //livestream: scope the spinner to this player and clear any pending timers 2793 var $spinner = $(player.el()).find('.vjs-loading-spinner'); 2794 if(playerState.SPINNER_TIMEOUT){ clearTimeout(playerState.SPINNER_TIMEOUT); playerState.SPINNER_TIMEOUT = null; } 2795 if(playerState.STALL_CHECK){ clearTimeout(playerState.STALL_CHECK); playerState.STALL_CHECK = null; } 2796 2797 if(e.type === 'pause' || player.paused()){ 2798 //user/programmatic pause: don't show the buffering spinner 2799 $spinner.addClass('badspinner'); 2800 return; 2801 } 2802 2803 //only reveal the spinner if genuinely stalled. Check after ~1s... 2804 //if the playhead moved, it was spurious, if not, it's a real stall 2805 var startTime = player.currentTime(); 2806 playerState.STALL_CHECK = setTimeout(function(){ 2807 playerState.STALL_CHECK = null; 2808 if(player.paused()){ return; } 2809 if(player.currentTime() > startTime + 0.1){ 2810 //playback advanced -> spurious waiting, keep spinner hidden 2811 return; 2812 } 2813 //genuinely stalled -> show the spinner, for 3s at most 2814 $spinner.removeClass('badspinner'); 2815 playerState.SPINNER_TIMEOUT = setTimeout(function(){ 2816 $spinner.addClass('badspinner'); 2817 }, 3000); 2818 }, 1000); 2819 }else{ 2820 $('.vjs-loading-spinner').removeClass('badspinner'); 2821 setTimeout(function(){ 2822 //let it spin for 3 sec at most 2823 $('.vjs-loading-spinner').addClass('badspinner'); 2824 }, 3000); 2825 } 2826 }); 2827 2828 2829 //player.off('playing'); 2830 2831 player.on(['playing', 'canplaythrough'], function() { 2832 console.log('playing'); 2833 playerState.IS_PLAYING = true; 2834 if(WVM.IS_STREAMING){ 2835 //livestream: deterministically hide the spinner the moment playback 2836 //resumes, and cancel any pending stall-check / waiting-timer 2837 if(playerState.STALL_CHECK){ clearTimeout(playerState.STALL_CHECK); playerState.STALL_CHECK = null; } 2838 if(playerState.SPINNER_TIMEOUT){ clearTimeout(playerState.SPINNER_TIMEOUT); playerState.SPINNER_TIMEOUT = null; }
2839 $(player.el()).find('.vjs-loading-spinner').addClass('badspinner'); 2840 } 2841 }); 2842 2843 2844 2845 //player.off('adstart'); 2846 player.on('adstart', function(){ 2847 console.log("starting ads"); 2848 WVM.lastAdRequest = new Date().getTime() / 1000; 2849 playerState.AD_IS_PLAYING = true; 2850 playerState.PLAYED_AD = true; 2851 WVM.sendbeacon("adstart", true, playerState.VIDEO_ID, playerState.VIDEO_TITLE); 2852 2853 //make sure player is at start, paused 2854 player.pause(); 2855 player.currentTime(0); 2856 }); 2857 //player.off('adend'); 2858 player.on('adend', function(){ 2859 var playPromise = null; 2860 console.log("ad end"); 2861 playerState.AD_IS_PLAYING = false; 2862 setTimeout(function(){ 2863 if(!playerState.IS_PLAYING || player.paused()){ 2864 } 2865 }, 500); 2866 WVM.lastAdRequest = new Date().getTime() / 1000; 2867 WVM.sendbeacon("adend", true, playerState.VIDEO_ID, playerState.VIDEO_TITLE); 2868 2869 }); 2870 //player.off('timeupdate'); 2871 player.on('timeupdate', function(){ 2872 playerState.IS_PLAYING = true; 2873 var fullDuration = this.duration() * 1000; 2874 var fullCurrent = this.currentTime() * 1000; 2875 var rand = parseInt(Math.random() * 100); 2876 //console.log("timeupdate " + fullCurrent + " out of " + fullDuration); 2877 2878 if(rand > 20){ 2879 if(fullDuration > 1 && ((fullDuration - fullCurrent) > 1) && !$('.vjs-loading-spinner').hasClass('badspinner')){ 2880 console.log("hiding spinner"); 2881 $('.vjs-loading-spinner').addClass('badspinner'); 2882 } 2883 } 2884 var duration_time = Math.floor(this.duration()); 2885 2886 //this is a hack because the end video event is not firing... 2887 var current_time = Math.floor(this.currentTime()); 2888 if ( current_time > 0 && ( fullCurrent >= (fullDuration - 10) )){ 2889 var currId = playerState.VIDEO_ID; 2890 var newMediaId = WVM.getNextPlaylistIndex(currId); 2891 //if(playerSettings.autoplay_next && newMediaId){ 2892 if(newMediaId){ 2893 if('desktop' == "iphone" && playerState.AD_ERROR){ 2894 console.log("skipped timeupdate end"); 2895 }else{ 2896 WVM.load_video(newMediaId, true, playerState.ORIGINAL_ID); 2897 } 2898 } 2899 } 2900 2901 if(!playerState.START_SENT){ 2902 WVM.sendbeacon('start', true, playerState.VIDEO_ID, playerState.VIDEO_TITLE); 2903 playerState.START_SENT = true; 2904 } 2905 2906 var currentTime, duration, percent, percentPlayed, _i; 2907 currentTime = Math.round(this.currentTime()); 2908 duration = Math.round(this.duration()); 2909 percentPlayed = Math.round(currentTime / duration * 100); 2910 for (percent = _i = 0; _i <= 99; percent = _i += percentsPlayedInterval) { 2911 if (percentPlayed >= percent && __indexOf.call(playerState['PERCENTS_TRACKED'], percent) < 0) { 2912 if (percentPlayed !== 0) { 2913 console.log('percent-' + percent, true, playerState.VIDEO_ID, playerState.VIDEO_TITLE) 2914 WVM.sendbeacon('percent-' + percent, true, playerState.VIDEO_ID, playerState.VIDEO_TITLE); 2915 } 2916 if (percentPlayed > 0) { 2917 playerState['PERCENTS_TRACKED'].push(percent); 2918 } 2919 } 2920 } 2921 2922 2923 }); 2924 //player.off('ended'); 2925 player.on('ended', function(){ 2926 console.log("ended"); 2927 playerState.IS_PLAYING = false; 2928 WVM.sendbeacon("complete", true, playerState.VIDEO_ID, playerState.VIDEO_TITLE); 2929 var currId = playerState.VIDEO_ID; 2930 var newMediaId = WVM.getNextPlaylistIndex(currId); 2931 //if(playerSettings.autoplay_next && newMediaId){
2932 if(newMediaId){ 2933 WVM.load_video(newMediaId, true, playerState.ORIGINAL_ID); 2934 }else{ 2935 console.log("Playlist complete (no more videos)"); 2936 } 2937 2938 }); 2939 2940 2941 //player.off('adserror'); 2942 player.on('adserror', function(e){ 2943 //$('#ima-ad-container').remove(); 2944 WVM.lastAdRequest = new Date().getTime() / 1000; 2945 console.log(e); 2946 console.log("ads error"); 2947 2948 var errMessage = e['data']['AdError']['l']; 2949 2950 playerState.AD_IS_PLAYING = false; 2951 playerState.IS_PLAYING = false; 2952 2953 // && errMessage == 'The VAST response document is empty.' 2954 if(!playerState.AD_ERROR){ 2955 var dTime = new Date().getTime(); 2956 WVM.firstPrerollTagUrl = WVM.getFirstPrerollUrl(); 2957 console.log("calling backup ad tag url: " + WVM.firstPrerollTagUrl); 2958 WVM.activePlayer.ima.changeAdTag(WVM.firstPrerollTagUrl + "?" + dTime); 2959 WVM.activePlayer.ima.requestAds(); 2960 2961 //WVM.activePlayer.src({ 2962 // src: masterSrc, 2963 // type: 'video/mp4' 2964 //}); 2965 //WVM.firstPrerollTagUrl = ""; 2966 } 2967 playerState.AD_ERROR = true; 2968 }); 2969 2970 //player.off('error'); 2971 player.on('error', function(event) { 2972 if (player.error().code === 4) { 2973 player.error(null); // clear out the old error 2974 player.options().sources.shift(); // drop the highest precedence source 2975 console.log("now doing src"); 2976 console.log(player.options().sources[0]); 2977 player.src(player.options().sources[0]); // retry 2978 return; 2979 } 2980 }); 2981 2982 //player.off('volumechange'); 2983 player.on('volumechange', function(event) { 2984 console.log(event); 2985 2986 var theHeight = $('#media-container-' + playerState.ORIGINAL_ID + ' .vjs-volume-level').css('height'); 2987 var cssVolume = 0; 2988 if(theHeight){ 2989 cssVolume = parseInt(theHeight.replace('%', '')); 2990 } 2991 var theVolume = player.volume(); 2992 if(theVolume > 0.0 || cssVolume > 0){ 2993 $('#media-container-' + playerState.ORIGINAL_ID + ' .mute-overlay').css('display', 'none'); 2994 }else{ 2995 $('#media-container-' + playerState.ORIGINAL_ID + ' .mute-overlay').css('display', 'block'); 2996 } 2997 }); 2998 WVM.reinitRawEvents(playerState.ORIGINAL_ID); 2999 setInterval(function(){ 3000 WVM.reinitRawEvents(playerState.ORIGINAL_ID); 3001 }, 2000); 3002 } 3003 if(!WVM.rawCompleteEvent){ 3004 WVM.rawCompleteEvent = function(e){ 3005 var playerState = WVM['player_state327307']; 3006 }; 3007 } 3008 if(!WVM.rawTimeupdateEvent){ 3009 WVM.rawTimeupdateEvent = function(e){ 3010 var playerState = WVM['player_state327307']; 3011 var rawVideoElem = document.getElementById('html5-video-' + playerState['ORIGINAL_ID'] + '_html5_api'); 3012 var fullCurrent = rawVideoElem.currentTime * 1000; 3013 var fullDuration = rawVideoElem.duration * 1000; 3014 var current_time = Math.floor(rawVideoElem.currentTime); 3015 console.log("raw timeupdate: " + fullCurrent + " out of " + fullDuration); 3016 3017 if ( current_time > 0 && ( fullCurrent >= (fullDuration - 50) )){ 3018 var currId = playerState.VIDEO_ID; 3019 var newMediaId = WVM.getNextPlaylistIndex(currId); 3020 if(newMediaId){ 3021 console.log("loading new video from rawtimeupdate"); 3022 WVM.load_video(newMediaId, true, playerState.ORIGINAL_ID); 3023 } 3024 } 3025 if(!$('.vjs-loading-spinner').hasClass('badspinner')){ 3026 $('.vjs-loading-spinner').addClass('badspinner') 3027 } 3028 }; 3029 } 3030 3031 WVM.reinitRawEvents = function(playerId){ 3032 var playerState = WVM['player_state' + playerId]; 3033 var rawVideoElem = document.getElementById('html5-video-' + WVM['player_state' + playerId]['ORIGINAL_ID'] + '_html5_api'); 3034 3035 //COMPLETE EENT 3036 if( WVM['player_state' + playerId].COMPLETE_EVENT){ 3037 rawVideoElem.removeEventListener('ended', WVM.rawCompleteEvent, false); 3038 } 3039 rawVideoElem.addEventListener('ended', WVM.rawCompleteEvent, false); 3040 3041 //TIME UPDATE EVENT 3042 if( WVM['player_state' + playerId].TIMEUPDATE_EVENT){ 3043 rawVideoElem.removeEventListener('ended', WVM.rawTimeupdateEvent, false); 3044 } 3045 rawVideoElem.addEventListener('ended', WVM.rawTimeupdateEvent, false); 3046 3047 3048 WVM['player_state' + playerId].COMPLETE_EVENT = true; 3049 WVM['player_state' + playerId].TIMEUPDATE_EVENT = true; 3050 }; 3051 3052 </script>
3052 3053 <!-- Video Player Desktop 327307 --> 3054
3054<script> 3055console.log("desktop"); 3056 WVM.detectIE = function() { 3057 var ua = window.navigator.userAgent; 3058 3059 var msie = ua.indexOf('MSIE '); 3060 if (msie > 0) { 3061 // IE 10 or older => return version number 3062 return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10); 3063 } 3064 3065 var trident = ua.indexOf('Trident/'); 3066 if (trident > 0) { 3067 // IE 11 => return version number 3068 var rv = ua.indexOf('rv:'); 3069 return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10); 3070 } 3071 3072 var edge = ua.indexOf('Edge/'); 3073 if (edge > 0) { 3074 // Edge (IE 12+) => return version number 3075 return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10); 3076 } 3077 3078 // other browser 3079 return false; 3080 }; 3081 3082 3083 3084 3085 function initPlayer327307(){ 3086 var firstPlayer = false; 3087 var fullVideoId = 327307; 3088 3089 var muted = true; 3090 var vjsOptions = { 3091 autoplay: WVM.autoplayAllowed, 3092 playsinline : true, 3093 muted: muted, 3094 debug: true, 3095 replay: false, 3096 controlBar: { 3097 volumePanel: { 3098 inline: false 3099 } 3100 }, 3101 }; 3102 var wrapperDiv = document.getElementById('html5-video-327307'); 3103 var player = videojs('html5-video-327307', vjsOptions); 3104 console.log("initing player 327307"); 3105 var initAdDisplayContainer = function() { 3106 console.log("init ads"); 3107 WVM.lastAdRequest = new Date().getTime() / 1000; 3108 player.ima.initializeAdDisplayContainer(); 3109 wrapperDiv.removeEventListener('click', initAdDisplayContainer); 3110 } 3111 var handleVolumeChange = function(e){ 3112 $('#media-container-' + fullVideoId + ' .mute-overlay').css('display', 'none'); 3113 }; 3114 3115 if (WVM.IS_STREAMING) { 3116 videojs.log.level('debug'); 3117 3118 // Listen to any errors that occur 3119 player.on('error', function() { 3120 var errorObj = player.error(); 3121 3122 // Bail out if no error object 3123 if (!errorObj) { 3124 return; 3125 } 3126 3127 var errMessage = errorObj.message || 'Unknown Error'; 3128 var errCode = errorObj.code || 'No Code'; 3129 3130 // Create a unique identifier for the error 3131 var errorIdentifier = `${errCode}-${errMessage}`; 3132 3133 // Check if this error has already been sent 3134 if (!sentErrors.has(errorIdentifier) && sentErrors.size < 5) { 3135 sentErrors.add(errorIdentifier); // Mark as sent 3136 3137 // Build the data to send 3138 var postData = { 3139 err_code: errCode, 3140 err_message: errMessage, 3141 url: window.location.href, // current page 3142 user_agent: window.navigator.userAgent, 3143 platform: "desktop" 3144 }; 3145 3146 // Do the AJAX call 3147 $.ajax({ 3148 url: '/ajax/add_video_error/', 3149 type: 'POST', 3150 dataType: 'json', 3151 data: postData, 3152 success: function(response) { 3153 console.log('Error logged successfully', response); 3154 }, 3155 error: function(xhr, status, error) { 3156 console.log('Failed to log error', error); 3157 } 3158 }); 3159 } 3160 3161 console.log('Video.js error:', errorObj); 3162 }); 3163 } 3164 3165 3166 var handleComplete = function(e){ 3167 console.log("ad completed"); 3168 setTimeout(function(){ 3169 //reload video 3170 //WVM.load_video(playerState.VIDEO_ID, true, playerState.ORIGINAL_ID); 3171 if(player.paused()){ 3172 var playPromise = player.play(); 3173 WVM.printPromise(playPromise, "rawadend"); 3174 } 3175 }, 100); 3176 WVM.lastAdRequest = new Date().getTime() / 1000; 3177 WVM.reinitRawEvents(fullVideoId); 3178 }; 3179 var firstLoaded = false;
3180 var handleLoaded = function(e){ 3181 if(!firstLoaded){ 3182 firstLoaded = true; 3183 player.ima.getAdsManager().setVolume(0); 3184 } 3185 }; 3186 console.log("first preroll url: " + WVM.firstPrerollTagUrl); 3187 var imaOptions = { 3188 id: 'html5-video-327307', 3189 adTagUrl: WVM.firstPrerollTagUrl, 3190 vpaidMode: google.ima.ImaSdkSettings.VpaidMode.INSECURE, 3191 adsWillAutoplay: true, 3192 adsWillPlayMuted: true, 3193 adsManagerLoadedCallback: function(e){ 3194 3195 player.ima.addEventListener(google.ima.AdEvent.Type.VOLUME_CHANGED,handleVolumeChange); 3196 player.ima.addEventListener(google.ima.AdEvent.Type.COMPLETE,handleComplete); 3197 player.ima.addEventListener(google.ima.AdEvent.Type.LOADED, handleLoaded); 3198 } 3199 }; 3200 player.ima(imaOptions); 3201 3202 3203 if (!WVM.autoplayAllowed) { 3204 3205 wrapperDiv.addEventListener('click', initAdDisplayContainer); 3206 3207 }else{ 3208 WVM.lastAdRequest = new Date().getTime() / 1000; 3209 } 3210 WVM.activePlayer = player; 3211 WVM.finishPlayer(player, WVM.player_state327307, WVM.player_settings327307); 3212 3213 //SETUP THE OPTIONS 3214 3215 3216 3217 WVM.addFloatingAbility(fullVideoId, player); 3218 WVM.setupAccordionButton(fullVideoId, player); 3219 3220 WVM.setupToggleButton(fullVideoId, player); 3221 WVM.addMuteButton(fullVideoId, player); 3222 var playPromise = null; 3223 //give it a kick part 2 3224 setTimeout(function(){ 3225 let playerState = WVM.player_state327307; 3226 //var isPlaying = WVM['player_state' + fullVideoId]['IS_PLAYING'] || WVM['player_state' + fullVideoId]['AD_IS_PLAYING']; 3227 if(player.paused() && firstPlayer && !playerState.AD_IS_PLAYING){ 3228 console.log("kicking the player"); 3229 var playPromise = player.play(); 3230 WVM.printPromise(playPromise, "setupkick"); 3231 } 3232 }, 500); 3233 3234 3235 //hack for bxslider click events not registering in chrome 3236 var clickType = 'click'; 3237 if(window.navigator.userAgent.toLowerCase().indexOf("chrome") > 0) { 3238 clickType = 'mousedown'; 3239 } 3240 $('#media-container-' + fullVideoId + ' a.videolink').on(clickType, function() 3241 { 3242 //alert("loading video with player id " + fullVideoId); 3243 var mid = this.id.split('_')[1]; 3244 var newIndex = WVM.getPlaylistArrayId(mid); 3245 WVM.load_video(mid, true, fullVideoId, newIndex); 3246 }); 3247 } 3248 3249 </script>
3249 3250 3251 3252 3253
3253<script> 3254 if(!WVM.load_video){ 3255 WVM.load_video = function(mediaID, changeAd, playerId) 3256 { 3257 var currDate = new Date().getTime() / 1000; 3258 //console.log("currDate " + currDate + " vs " + (WVM.lastLoadedVideo + 1).toString()); 3259 if(currDate < (WVM.lastLoadedVideo + 1)){ 3260 //don't load video if video was loaded a sec ago 3261 return; 3262 } 3263 var playerSettings = WVM['player_settings' + playerId]; 3264 var playerState = WVM['player_state' + playerId]; 3265 var playPromise = null; 3266 3267 WVM.sendbeacon('changevideo', true, playerState.ORIGINAL_ID, playerState.VIDEO_TITLE); 3268 WVM.lastLoadedVideo = currDate; 3269 3270 //alert("loading video " + mediaID); 3271 var nextVideoId = WVM.getNextPlaylistIndex(mediaID); 3272 if(nextVideoId == null){ 3273 $('#media-container-' + playerId + ' .video-slider-nextlabel').hide(); 3274 $('#media-container-' + playerId + ' .video-slider-nexttitle').hide(); 3275 }else{ 3276 $('#media-container-' + playerId + ' .video-slider-nextlabel').show(); 3277 $('#media-container-' + playerId + ' .video-slider-nexttitle').show(); 3278 } 3279 3280 $('#media-container-' + playerId + ' #video_title_' + playerId).addClass('blurme'); 3281 WVM['player_state' + playerId]['VIDEO_ID'] = mediaID; 3282 3283 $('#media-container-' + playerId + ' #video_title_' + playerId).removeClass('blurme'); 3284 3285 var mTitle = WVM.getPlaylistData(playerId, mediaID, "prefix") + WVM.getPlaylistData(playerId, mediaID, "story_title"); 3286 var mid = WVM.getPlaylistData(playerId, mediaID, "video_id"); 3287 var hlsSrc = WVM.getPlaylistData(playerId, mediaID, "hls_rendition"); 3288 var masterSrc = WVM.getPlaylistData(playerId, mediaID, 'master_rendition'); 3289 var hasCaptions = WVM.getPlaylistData(playerId, mediaID, 'has_captions'); 3290 var captionUrl = WVM.getPlaylistData(playerId, mediaID, 'caption_url'); 3291 var vidUrl = WVM.getPlaylistData(playerId, mediaID, 'url'); 3292 var vidTitle = WVM.getPlaylistData(playerId, mediaID, 'noprefixtitle'); 3293 3294 WVM.activePlayer.pause(); 3295 3296 var sixtySecondsAgo = (new Date().getTime() / 1000) - 60; 3297 //console.log(sixtySecondsAgo + " VS "); 3298 //console.log(WVM.lastAdRequest); 3299 playerState.START_SENT = false; 3300 playerState.PERCENTS_TRACKED = []; 3301 var has_prerolls = true; 3302 try { 3303 var playPromise = null; 3304 //WVM.activePlayer.reset(); 3305 if(changeAd && WVM.lastAdRequest < sixtySecondsAgo && has_prerolls){ 3306 var dTime = new Date().getTime(); 3307 WVM.activePlayer.ima.changeAdTag(WVM.adTagUrl + "?" + dTime); 3308 WVM.activePlayer.ima.requestAds(); 3309 WVM.activePlayer.src({ 3310 src: masterSrc, 3311 type: 'video/mp4' 3312 }); 3313 //firefox *really* hates this load event 3314 WVM.activePlayer.load(); 3315 //play will be handled by adend 3316 $('#media-container-' + playerId + ' .vjs-loading-spinner').addClass('badspinner'); 3317 3318 }else{ 3319 //alert("master src " + masterSrc); 3320 WVM.activePlayer.src({ 3321 src: masterSrc, 3322 type: 'video/mp4' 3323 }); 3324 WVM.activePlayer.load(); 3325 playPromise = WVM.activePlayer.play(); 3326 $('#media-container-' + playerId + ' .vjs-loading-spinner').addClass('badspinner'); 3327 } 3328 WVM.ACTIVE_PLAYING = true; 3329 var oldTracks = WVM.activePlayer.remoteTextTracks(); 3330 var i = oldTracks.length; 3331 while (i--) { 3332 WVM.activePlayer.removeRemoteTextTrack(oldTracks[i]); 3333 } 3334 if(hasCaptions == 'yes'){ 3335 WVM.activePlayer.addRemoteTextTrack({ 3336 kind: 'captions',
3337 srclang: (WVM.SITE_NAME == 'telemundowi' ? 'es' : 'en'), 3338 label: (WVM.SITE_NAME == 'telemundowi' ? 'Spanish' : 'English'), 3339 src: captionUrl }, false); 3340 } 3341 console.log("date2 " + new Date().getTime()); 3342 if(playPromise !== null){ 3343 WVM.printPromise(playPromise, "adend"); 3344 } 3345 } 3346 catch(error) { 3347 console.error(error); 3348 alert("There was an error in the video player."); 3349 //reset the stupid player for being stupid 3350 WVM.activePlayer.reset(); 3351 } 3352 setTimeout(function(){ 3353 var isPlaying = WVM['player_state' + playerId]['IS_PLAYING'] || WVM['player_state' + playerId]['AD_IS_PLAYING']; 3354 if(!isPlaying){ 3355 //alert("restarting because stupid"); 3356 console.log("restarting because not started after loaded"); 3357 playPromise = WVM.activePlayer.play(); 3358 if(playPromise !== null){ 3359 WVM.printPromise(playPromise, "adend"); 3360 } 3361 3362 } 3363 }, 300); 3364 3365 var theHeight = $('#media-container-' + playerState.ORIGINAL_ID + ' .vjs-volume-level').css('height'); 3366 var cssVolume = 0; 3367 if(theHeight){ 3368 cssVolume = parseInt(theHeight.replace('%', '')); 3369 } 3370 var theVolume = WVM.activePlayer.volume(); 3371 if(theVolume > 0.0 || cssVolume > 0){ 3372 $('#media-container-' + playerState.ORIGINAL_ID + ' .mute-overlay').css('display', 'none'); 3373 }else{ 3374 $('#media-container-' + playerState.ORIGINAL_ID + ' .mute-overlay').css('display', 'block'); 3375 } 3376 //cant believe I have to do this.... re-init all events 3377 //WVM.finishPlayer(WVM.activePlayer, playerState, playerSettings) 3378 3379 3380 } 3381 } 3382 3383 3384 WVM.autoplayAllowed = false; 3385 WVM.autoplayRequiresMute = false; 3386 var didCheck; 3387 WVM.printPromise = function(playPromise, theType){ 3388 if (playPromise !== undefined) { 3389 playPromise.then(_ => { 3390 console.log("PLAY-PROMISE: success for " + theType); 3391 }) 3392 .catch(error => { 3393 console.log("PLAY-PROMISE: failure for " + theType); 3394 }); 3395 } 3396 }; 3397 function checkUnmutedAutoplaySupport(callback) { 3398 canAutoplay.video({ 3399 timeout: 500, muted: false 3400 }) 3401 .then(({ 3402 result, error 3403 }) => { 3404 if(result === false) { 3405 // Unmuted autoplay is not allowed. 3406 checkMutedAutoplaySupport(callback); 3407 } else { 3408 // Unmuted autoplay is allowed. 3409 callback(); 3410 } 3411 }) 3412 } 3413 3414 function checkMutedAutoplaySupport(callback) { 3415 canAutoplay 3416 .video({ 3417 timeout: 500, 3418 muted: true 3419 }) 3420 .then(({ 3421 result, error 3422 }) => { 3423 if(result === false) { 3424 // Muted autoplay is not allowed. 3425 3426 WVM.autoplayAllowed = false; 3427 WVM.autoplayRequiresMute = false; 3428 } else { 3429 // Muted autoplay is allowed. 3430 } 3431 callback(); 3432 }); 3433 } 3434 if(!didCheck){ 3435 checkUnmutedAutoplaySupport(function(){ 3436 initPlayer327307(); 3437 3438 WVM.activePlayer.on('ready', function() { 3439 3440 3441 WVM.activePlayer.currentTime(0); 3442 3443 var observer = new IntersectionObserver(function(entries) { 3444 3445 entries.forEach(function(entry) { 3446 3447 if (entry.isIntersecting) { 3448 3449 if (!WVM.bottomStoryAdStarted) { 3450 WVM.bottomStoryAdStarted = true; 3451 if (WVM.activePlayer.ima && WVM.activePlayer.ima.initializeAdDisplayContainer) { 3452 WVM.activePlayer.ima.initializeAdDisplayContainer(); 3453 } 3454 } 3455 WVM.activePlayer.muted(true); 3456 WVM.activePlayer.play(); 3457 3458 } else { 3459 3460 WVM.activePlayer.pause(); 3461 3462 } 3463 3464 }); 3465 3466 }, { 3467 threshold: 1 3468 }); 3469
3470 observer.observe(WVM.activePlayer.el()); 3471 3472 3473 }); 3474 }); 3475 didCheck = true; 3476 }else{ 3477 initPlayer327307(); 3478 3479 WVM.activePlayer.on('ready', function() { 3480 WVM.activePlayer.muted(true); 3481 }); 3482 3483 } 3484 3485</script>
3485 3486 3487 3488<!-- 3489<a id="hide_mobile_thing" href="javavascript:void(0);"> 3490 Hide Mobile side 3491</a> 3492--> 3493 3494 3495 3496 </div><!-- #main-content --> 3497 <aside> 3498 3499 <ul> 3500 3501 3502 3503 3504 3505 3506 3507 <div class="weather-app primary-content-box"> 3508 <div class="weather-app-logo"> 3509 <!-- weather logos --> 3510 <a href="/el-tiempo" title="El Tiempo"> 3511 <img src="/images/eltiempo_widget.png?v2" class="ready-weather-logo" alt="el tiempo"> 3512 </a> 3513 </div> 3514 <!-- weather location and sponsor --> 3515 <div class="weather-forecast-container"> 3516 <div class="weather-content-top-wrapper"> 3517 <div class="weather-col-left"> 3518 <span class="weather-location"> 3519 Milwaukee, WI 3520 </span> 3521 </div> 3522 <div class="weather-col-right"> 3523 3524 </div> 3525 </div> 3526 <!-- weather forecast --> 3527 <div class="weather-view-row forecast-row"> 3528 <div class="weather-view-forecast-column"> 3529 <div class="weather-view-forecast-left"> 3530 <a href="/weather" title="weather"><img src="/images/weather_icons/105.png" width="40" height="20"> 3531 </a> 3532 </div> 3533 <div class="weather-view-forecast-right"> 3534 <a href="/el-tiempo" title="weather"> 3535 <span class="weather-view-time-text"> 3536 Hoy 3537 </span> 3538 <span class="weather-view-temperature-text">74°</span> 3539 <span class="weather-view-description-text">Chubascos matinales</span> 3540 </a> 3541 </div> 3542 </div> 3543 3544 <div class="weather-view-divider"></div> 3545 <div class="weather-view-forecast-column"> 3546 <div class="weather-view-forecast-left"> 3547 <a href="/weather" title="weather"><img src="/images/weather_icons/91.png" width="40" height="20"> 3548 </a> 3549 </div> 3550 <div class="weather-view-forecast-right"> 3551 <a href="/el-tiempo" title="weather"> 3552 <span class="weather-view-time-text"> 3553 Mañana 3554 </span> 3555 <span class="weather-view-temperature-text">67°</span> 3556 <span class="weather-view-description-text">Lluvia</span> 3557 </a> 3558 </div> 3559 </div> 3560 </div> 3561 <div class="secondary-tags"><a href="/el-tiempo">Pronóstico Extendido</a></div> 3562 </div> 3563 3564 3565 3566 3567 3568 </div> 3569 3570 3571 3572 3573 3574 <li style="margin-bottom: 3rem;"> 3575 <div id="telemundowi_side"> 3576
3576<script type='text/javascript'> 3577 googletag.cmd.push(function() { googletag.display('telemundowi_side'); }); 3578 </script>
3578 3579 <div id="sidebar_managed_ad" style="display:none;text-align:center;"> 3580 <a id="sidebar_managed_ad_link" href="https://telemundowi.com/herencia-hispana"> 3581 </a> 3582 </div> 3583 </div> 3584 </li> 3585 3586 <div class="aside-newsletter-signup"> 3587 <div class="aside-newsletter-title"> 3588 <i class="fas fa-envelope"></i> 3589 <span>InscrÃbete a nuestro</span><span>boletÃn de noticias!</span> 3590 3591 </div> 3592 <form id="newsletter_signup_form" action="" method="GET"> 3593 <div class="aside-newsletter-signup-input-wrap"> 3594 <input type="email" name="email" id="email" placeholder="Correo electrónico"> 3595 <button id="newsletter_submit" name="submit" type="submit"><i class="fa fa-angle-right" aria-hidden="true"></i></button> 3596 </div> 3597 <div class="newsletter-checkbox"> 3598 <input type="checkbox" id="signup_checkbox_sidebar" name="signup_checkbox_sidebar"> 3599 <label for="signup_checkbox_sidebar" id="style-PyDXZ" class="style-PyDXZ"> 3600 Tengo al menos 18 años de edad y estoy de acuerdo con los <a target="_blank" href="/terminos-de-uso">Términos de Uso</a> y la <a target="_blank" href="/politica-de-privacidad">PolÃtica de Privacidad</a> 3601 </label> 3602 </div> 3603 </form> 3604 </div> 3605 3606 3607
3607<script> 3608 var SUBMITTING_NEWSLETTER = false; 3609 3610 $(document).ready(function(){ 3611 $('#newsletter_signup_form').submit( function(e){ 3612 e.preventDefault(); 3613 3614 if(SUBMITTING_NEWSLETTER){ 3615 //console.log('I made it this far!'); 3616 return; 3617 } 3618 3619 SUBMITTING_NEWSLETTER = true; 3620 3621 var emailAddress = $('#email').val(); 3622 if(emailAddress.length <= 2){ 3623 3624 if(WEBVIEW.SITE_NAME == 'telemundowi'){ 3625 alert("Email Inválido"); 3626 }else{ 3627 alert("Enter a valid email"); 3628 } 3629 return; 3630 } 3631 3632 if(!$('#signup_checkbox_sidebar').is(":checked")){ 3633 if(WEBVIEW.SITE_NAME == 'telemundowi'){ 3634 alert("Debes aceptar los términos para registrarte"); 3635 }else{ 3636 alert("You must accept the terms to sign up"); 3637 } 3638 SUBMITTING_NEWSLETTER = false; 3639 return; 3640 } 3641 3642 //var height = $('#newsletter_submit').height(); 3643 //$('#newsletter_submit i').remove(); 3644 //$('#newsletter_submit').append('<img class="loading-dots" src="/images/loading-dots.gif"/>'); 3645 3646 3647 $.ajax({ 3648 url: '/ajax/newsletter_signup/', 3649 data: { 3650 email: emailAddress 3651 }, 3652 type: 'POST', 3653 dataType: 'json', 3654 success: function(data) 3655 { 3656 if(data.status == "success"){ 3657 //recreate other div
3658 if(WEBVIEW.SITE_NAME == 'telemundowi'){ 3659 $('.aside-newsletter-signup').html('<span class="aside-newsletter-signup-thanks">Gracias por suscribirte a nuestro boletÃn</span>'); 3660 } 3661 else { 3662 $('.aside-newsletter-signup').html('<span class="aside-newsletter-signup-thanks">Thank you for subscribing to our newsletter!</span>'); 3663 } 3664 3665 } 3666 else if(data.status == "failure"){ 3667 $('#newsletter_submit').empty(); 3668 $('#newsletter_submit').append('<i class="fa fa-angle-right" aria-hidden="true"></i>'); 3669 alert(data.msg); 3670 } 3671 SUBMITTING_NEWSLETTER = false; 3672 }, 3673 error : function(response) 3674 { 3675 //console.log('Boohoo...'); 3676 //alert('Error'); 3677 console.log(response); 3678 } 3679 }); 3680 3681 }); 3682 }); 3683 </script>
3683 3684 3685 3686 3687 3688 <h2><span class="section-header-title">Noticias Locales</span><div class="view-more-sidebar"><a href="/noticias-locales" class="view-more desktop-only">Ver más <i class="fa fa-chevron-right" aria-hidden="true"></i></a></div></h2> 3689 <div class="aside-sidebar-main-callout-list primary-content-box"> 3690 <div class="aside-sidebar-main-callout-item"> 3691 <a href="/news/se-renuncia-al-incentivo-de-5-millones-de-dolares-de-microsoft-para-centros-de-datos-y-se-redirige-a-mount-pleasant-y-al-condado-de-racine-09-29-26"><img src="https://newscdn2.weigelbroadcasting.com/tNU2f-1790686876-325354-blog-sNnLz-1790681607-325350-blog-vlcsnap-2026-09-29-06h32m19s032_tile_thumbnail.png" width="600" height="338"></a> 3692 <ul class="aside-sidebar-list-title-only"> 3693 <li class="top-callout-list-item"> 3694 <div class="callout-item-title-link"><a href="/news/se-renuncia-al-incentivo-de-5-millones-de-dolares-de-microsoft-para-centros-de-datos-y-se-redirige-a-mount-pleasant-y-al-condado-de-racine-09-29-26">Se renuncia al incentivo de 5 millones de dólares de Microsoft para centros de datos </a></div> 3695 <div><span class="meta-text-subheading-small meta-text-timestamp-default"> 2h ago </span></div> 3696 </li> 3697 3698 <li> 3699 <div> 3700 <div class="callout-item-title-link"><a href="/news/bond-reduced-for-fond-du-lac-man-charged-after-human-skulls-remains-found-in-basement">Benjamin Larson se declara inocente; juez reduce su fianza <i class="fa fa-play-circle" aria-hidden="true"></i></a></div> 3701 <div><span class="meta-text-subheading-small meta-text-timestamp-default"> 13h ago </span></div> 3702 </div> 3703 </li> 3704 3705 <li> 3706 <div> 3707 <div class="callout-item-title-link"><a href="/news/preocupacion-tras-incidente-de-novatadas-en-uw-madison-fraternidad-suspende-su-capitulo">Preocupación tras incidente de novatadas en UW-Madison; fraternidad suspende su capÃtulo <i class="fa fa-play-circle" aria-hidden="true"></i></a></div> 3708 <div><span class="meta-text-subheading-small meta-text-timestamp-default"> 11h ago </span></div> 3709 </div> 3710 </li> 3711 3712 <li> 3713 <div> 3714 <div class="callout-item-title-link"><a href="/news/wauwatosa-west-hs-students-stage-walkout-in-support-of-nolan-wells">Estudiantes de la escuela secundaria Wauwatosa West organizan una huelga en apoyo a Nolan Wells</a></div> 3715 <div><span class="meta-text-subheading-small meta-text-timestamp-default"> 21h ago </span></div> 3716 </div> 3717 </li> 3718 </ul> 3719 <ul class="view-more-sidebar-bottom center"><li class="view-more"> <a href="/noticias-locales" class="view-more">Ver más <i class="fa fa-chevron-right" aria-hidden="true"></i></a></li></ul> 3720 </div> 3721 </div> 3722 <div class="primary-tags-wrapper mobile-only center"><a href="/noticias-locales" class="view-more primary-tags">Ver más <i class="fa fa-chevron-right" aria-hidden="true"></i></a></div> 3723 3724 3725 3726 3727 3728 3729 <li style="margin-bottom: 3rem;"> 3730 <div class="aside-ad-3">
3731 <div id="telemundowi_sidebar3"> 3732
3732<script type='text/javascript'> 3733 var width = window.innerWidth || document.documentElement.clientWidth; 3734 if(width > 1100){ 3735 googletag.cmd.push(function() { googletag.display('telemundowi_sidebar3'); }); 3736 } 3737 </script>
3737 3738 </div> 3739 </div> 3740 </li> 3741 3742 3743 <h2><span class="section-header-title">¡Qué Pasa Wisconsin!</span><div class="view-more-sidebar"><a href="/que-pasa-wisconsin" class="view-more desktop-only">Ver más <i class="fa fa-chevron-right" aria-hidden="true"></i></a></div></h2> 3744 <div class="aside-sidebar-main-callout-list primary-content-box"> 3745 <div class="aside-sidebar-main-callout-item"> 3746 <a href="/news/que-pasa-wisconsin-llega-a-milwaukee-vive-como-nadie-tour"><img src="https://newscdn2.weigelbroadcasting.com/RxPZ2-1788460971-324037-blog-3%20Imagen%20Evento_tile_thumbnail.png" width="600" height="338"></a> 3747 <ul class="aside-sidebar-list-title-only"> 3748 <li class="top-callout-list-item"> 3749 <div class="callout-item-title-link"><a href="/news/que-pasa-wisconsin-llega-a-milwaukee-vive-como-nadie-tour">Qué Pasa Wisconsin: Llega a Milwaukee "Vive como nadie Tour"</a></div> 3750 <div><span class="meta-text-subheading-small meta-text-timestamp-default"> </span></div> 3751 </li> 3752 3753 <li> 3754 <div> 3755 <div class="callout-item-title-link"><a href="/news/que-pasa-wisconsin-festival-latinoamericano-de-beloit-celebra-la-cultura-y-las-raices-de-la-comunidad">¡Qué Pasa Wisconsin! Festival Latinoamericano de Beloit celebra la cultura y las raÃces de la comunidad</a></div> 3756 <div><span class="meta-text-subheading-small meta-text-timestamp-default"> </span></div> 3757 </div> 3758 </li> 3759 3760 <li> 3761 <div> 3762 <div class="callout-item-title-link"><a href="/news/-09-01-26">¡Qué Pasa Wisconsin! : HPGM celebra 25 años impulsando el liderazgo latino en Wisconsin <i class="fa fa-play-circle" aria-hidden="true"></i></a></div> 3763 <div><span class="meta-text-subheading-small meta-text-timestamp-default"> </span></div> 3764 </div> 3765 </li> 3766 3767 <li> 3768 <div> 3769 <div class="callout-item-title-link"><a href="/news/que-pasa-wisconsin-cazuelas-sabor-y-tradicion-para-disfrutar-en-familia">¡Qué Pasa Wisconsin! Cazuelas, sabor y tradición para disfrutar en familia <i class="fa fa-play-circle" aria-hidden="true"></i></a></div> 3770 <div><span class="meta-text-subheading-small meta-text-timestamp-default"> </span></div> 3771 </div> 3772 </li> 3773 3774 <li> 3775 <div> 3776 <div class="callout-item-title-link"><a href="/news/que-pasa-wisconsin-la-importancia-de-prepararse-para-los-gastos-funerarios">¡Qué Pasa Wisconsin! La importancia de prepararse para los gastos funerarios <i class="fa fa-play-circle" aria-hidden="true"></i></a></div> 3777 <div><span class="meta-text-subheading-small meta-text-timestamp-default"> </span></div> 3778 </div> 3779 </li> 3780 </ul> 3781 <ul class="view-more-sidebar-bottom center"><li class="view-more"> <a href="/que-pasa-wisconsin" class="view-more">Ver más <i class="fa fa-chevron-right" aria-hidden="true"></i></a></li></ul> 3782 </div> 3783 </div> 3784 <div class="primary-tags-wrapper mobile-only center"><a href="/que-pasa-wisconsin" class="view-more primary-tags">Ver más <i class="fa fa-chevron-right" aria-hidden="true"></i></a></div> 3785 3786 3787 3788 3789 3790 <li> 3791 </li> 3792 <li> 3793 <div class="aside-ad-2" style="background-color:#f9f9f9;"> 3794 <div id="float_anchor"></div>
3795 <div id="telemundowi_float" class="sidebar-ad-wrap sidebar-ad-wrap-content"> 3796
3796<script type="text/javascript"> 3797 googletag.cmd.push(function() { googletag.display('telemundowi_float'); }); 3798 </script>
3798 3799 </div> 3800 <div id="float_spacer"> 3801 </div> 3802 </div> 3803 </li> 3804 3805 </ul> 3806 3807 3808 3809</aside>
3810<script> 3811 let defaultImage = 'https://newscdn2.weigelbroadcasting.com/XqoEh-1716492728-3-default_images-telemundowi_default2024.jpg'; 3812 $(document).ready(function() { 3813 function replaceWithDefault($img) { 3814 if($img.hasClass('content-header-img')){ 3815 $('.content-header-img-caption').html(""); 3816 } 3817 $img.attr('src', defaultImage); 3818 } 3819 $('#main-content img').each(function() { 3820 var img = $(this); 3821 if (img.parents('.content-img-grid').length) { 3822 return; 3823 } 3824 // For images that have already completed loading 3825 if (this.complete) { 3826 if (this.naturalWidth === 0 || this.naturalHeight === 0) { 3827 replaceWithDefault(img); 3828 } 3829 } else { 3830 // For images that may fail to load 3831 img.on('error', function() { 3832 replaceWithDefault(img); 3833 }); 3834 3835 setTimeout(function() { 3836 if (img[0].naturalWidth === 0 && img[0].naturalHeight === 0) { 3837 replaceWithDefault(img); 3838 } 3839 }, 5000); 3840 } 3841 }); 3842 }); 3843</script>
3843 3844 </div><!-- #wrapper --> 3845 <footer class="footer-no-newsletter"> 3846 <div class="section-inner"> 3847 <nav id="footer-nav"> 3848 <ul> 3849 <li><a href="/acerca-de-nosotros">ACERCA DE NOSOTROS</a></li> 3850 <li><a href="/contacto">CONTACTO</a></li> 3851 <li><a href="http://telemundowi.com/conoce-al-equipo">CONOCE AL EQUIPO</a></li> 3852 <li><a href="/politica-de-privacidad">POLÃTICA DE PRIVACIDAD </a></li> 3853 <li><a href="/terminos-de-uso">TÃRMINOS DE USO</a></li> 3854 <li><a href="https://www.telemundowi.com/do-not-sell-my-information">DO NOT SELL OR SHARE MY INFORMATION</a></li> 3855 <!--- 3856 <li><a href="#">Conéctate</a></li> 3857 <li><a href="#">Contacto</a></li> 3858 <li><a href="#">PolÃtica de Privacidad</a></li> 3859 <li><a href="#">Términos de Uso</a></li> 3860 --> 3861 </ul> 3862 </nav> 3863 <div class="footer-apps"> 3864 <span>Download the telemundowi app:</span> 3865 <a href="https://itunes.apple.com/us/app/telemundo-wisconsin/id1213096130?mt=8"><img class="footer-app-ios" src="https://wnewsstatic.b-cdn.net/images/app_badge_ios.png" width="135" height="40" alt="iOS App Store"></a> 3866 <a href="https://play.google.com/store/apps/details?id=com.weigel.localapp.local_app.telemundo_wisconsin"><img src="https://wnewsstatic.b-cdn.net/images/app_badge_android.png" width="135" height="40" alt="Google Play"></a> 3867 </div> 3868 <img class="footer-logo footer-logo-telemundowi" src="/images/logo_telemundowi_stacked.png?v4.2" alt="site logo"> 3869 <div class="footer-contact-info"> 3870 809 S. 60th St, Milwaukee, WI 53214<br> 3871 <span>Noticias hotline:</span> <a class="clicktocall" href="tel:+1-414-777-5818">(414) 777-5818</a><br> 3872 <span>Información general:</span> <a class="clicktocall" href="tel:+1-414-777-5800">(414) 777-5800</a><br> 3873 <span>Fax:</span> (414) 777-5802 3874 </div> 3875 <ul class="footer-station-logos"> 3876 <li><a href="https://metv.com/setmarket.php?marketID=3" target="_blank" rel="noopener"><img src="/images/metv_logo_white.png" alt="MeTV" width="124" height="82" loading="lazy"></a>MeTV 41.1/58.2</li> 3877 3878 <li><a href="https://metvtoons.com" target="_blank" rel="noopener"><img src="/images/metv_toons_logo.png" alt="MeTV Toons" width="115" height="82" loading="lazy"></a>MeTV Toons 49.5</li> 3879 3880 <li><a href="https://www.metv.com/metvplus" target="_blank" rel="noopener"><img src="/images/metvplus_logo_white.png" alt="MeTV Plus" width="150" height="82" loading="lazy"></a>MeTV+ 63.4</li> 3881 <li><a href="https://cbs58.com" target="_blank" rel="noopener"><img src="/images/cbs58_logo_white.png" alt="CBS 58" width="110" height="82" loading="lazy"></a>CBS 58.1</li> 3882 <li><a href="https://wmlw.com/" target="_blank" rel="noopener"><img src="/images/them_logo_white.png" alt="WMLW - The M" width="110" height="82" loading="lazy"></a>WMLW 49.1/58.3</li> 3883 <li><a href="https://starttv.com/" target="_blank" rel="noopener"><img src="/images/start_logo_white.png" alt="StartTV" width="124" height="82" loading="lazy"></a>Start 58.5/63.2</li> 3884 <li><a href="https://moviestvnetwork.com/" target="_blank" rel="noopener"><img src="/images/movies_logo_white.png" alt="Movies!" width="124" height="82" loading="lazy"></a>Movies! 49.2</li> 3885 <li><a href="https://handitv.com/" target="_blank" rel="noopener"><img src="/images/handi_logo_white.png" alt="H&I" width="95" height="82" loading="lazy"></a>H&I 49.3</li> 3886 3887 <li><a href="https://catchycomedy.com/" target="_blank" rel="noopener"><img src="https://wnewsstatic.b-cdn.net/images/catchy_logo_footer.png" alt="Catchy Comedy" width="124" height="82" loading="lazy"></a>Catchy Comedy 49.4</li> 3888 <li><a href="https://westtelevision.com/" target="_blank" rel="noopener"><img src="/images/west_white_logo.png" alt="Western Entertainment Series Television" width="124" height="82" loading="lazy"></a>
3888WEST 63.3</li> 3889 </ul> 3890 <div class="copyright"> 3891 All content © Copyright 2026 Channel 41 and 63 Limited Partnership. All Rights Reserved. <br><a href="https://publicfiles.fcc.gov/tv-profile/wdjt-tv">WDJT FCC Public File</a> <a href="https://telemundowi.com/fcc-application">WYTU FCC Applications</a> <a href="https://publicfiles.fcc.gov/tv-profile/wdjt-tv/equal-employment-opportunity-records/additional-documents/eeo-public-file-reports/d1a9e131-e548-b6bf-265c-300972305e75/">EEO Report</a> <a href="https://publicfiles.fcc.gov/tv-profile/wdjt-tv/programs-list/">Children's Programming Report</a> <a href="https://www.aboutads.info/choices">Ad Choices</a> 3892 </div> 3893 </div><!-- .section-inner --> 3894 </footer> 3895 <div class="privacy-banner-wrapper" style="display:none;"> 3896 <div class="lg-col-wrapper privacy-banner-inner"> 3897 <div class="privacy-banner-message">Al utilizar nuestro sitio, usted acepta que nosotros y terceros podamos utilizar cookies y tecnologÃas similares para recopilar información con fines analÃticos, publicitarios y otros propósitos descritos en nuestra <a href="/politica-de-privacidad">PolÃtica de Privacidad</a> y acepta nuestros <a href="/terminos-de-uso">Términos de Uso</a></div> 3898 <div class="privacy-banner-close"> 3899 <a class="close-btn">Close</a> 3900 </div> 3901 </div> 3902 </div> 3903
3903<script> 3904 $(document).ready(function() { 3905 // Show banner if privacy has not been accepted 3906 if (localStorage.getItem('privacyAccepted') !== 'true') { 3907 $('.privacy-banner-wrapper').show(); 3908 } 3909 3910 // Handle the close button click event 3911 $('.privacy-banner-wrapper .close-btn').on('click', function(e) { 3912 e.preventDefault(); 3913 $('.privacy-banner-wrapper').fadeOut(200); 3914 // Store acceptance in localStorage 3915 localStorage.setItem('privacyAccepted', 'true'); 3916 }); 3917 }); 3918 </script>
3918 3919 3920 <link rel="stylesheet" type="text/css" href="/css/wcs/wcs-style-telemundowi.css?v12354"> 3921 3922 3923 3924 3925 3926</body> 3927</html> 3928 3929Close
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.