1var WEBVIEW = WEBVIEW || {}; 2 3 WEBVIEW.heightChangeHandler = function(){ 4 5 var theHeight = parseInt($('html').height()); 6 var bodyHeight = parseInt($('body').height()); 7 if(!theHeight || theHeight <= 0){ 8 theHeight = bodyHeight; 9 } 10 11 if(theHeight > 0 && theHeight > WEBVIEW.HEIGHT){ 12 WEBVIEW.HEIGHT = theHeight; 13 WEBVIEW.heightUpdated(WEBVIEW.HEIGHT); 14 } 15 16 setInterval(function(){ 17 var theHeight = parseInt($('html').height()); 18 var bodyHeight = parseInt($('body').height()); 19 if(!theHeight || theHeight <= 0){ 20 theHeight = bodyHeight; 21 } 22 if(theHeight > 0){ 23 if(WEBVIEW.HEIGHT != theHeight && theHeight > WEBVIEW.HEIGHT){ 24 WEBVIEW.HEIGHT = theHeight; 25 WEBVIEW.heightUpdated(WEBVIEW.HEIGHT); 26 } 27 } 28 }, 200); 29 } 30 31 WEBVIEW.heightUpdated = function(newVal){ 32 newVal = newVal + 15; 33 34 var aMessage = {'op': "height_updated", 'action': newVal, 'value': newVal, 35 'fullurl' : '', 'itemurl': '', 'services': ''}; 36 console.log("sending message to app:"); 37 console.log(JSON.stringify(aMessage)); 38 39 if(typeof Android !== 'undefined'){ 40 var stringData = JSON.stringify(aMessage); 41 Android.doNavigation(stringData); 42 } 43 else if(typeof window.webkit !== 'undefined' && window.webkit.messageHandlers.interOp){ 44 window.webkit.messageHandlers.interOp.postMessage(aMessage); 45 }else if(typeof window.flutter_inappbrowser != 'undefined'){ 46 window.flutter_inappbrowser.callHandler("addUserTag", 47 op, aMessage['action'], aMessage['type'], '', 'itemurl', servicesUrl); 48 } 49 } 50 51 WEBVIEW.load_webviews = function(servicesUrl, itemUrl){ 52 var op = "do_navigation"; 53 54 var aMessage = {'op': op, 'action': "load_webviews", 'type': "section_tag", 55 'fullurl' : '', 'itemurl': itemUrl, 'services': servicesUrl}; 56 console.log("sending message to app:"); 57 console.log(JSON.stringify(aMessage)); 58 59 if(typeof Android !== 'undefined'){ 60 var stringData = JSON.stringify(aMessage); 61 Android.doNavigation(stringData); 62 } 63 else if(typeof window.webkit !== 'undefined' && window.webkit.messageHandlers.interOp){ 64 window.webkit.messageHandlers.interOp.postMessage(aMessage); 65 }else if(typeof window.flutter_inappbrowser != 'undefined'){ 66 window.flutter_inappbrowser.callHandler("addUserTag", 67 op, key, type, fullurl, itemurl, services); 68 } 69 }; 70 71 WEBVIEW.linkClickHandler = function(){ 72 73 74 $('body').on('click', 'a', function(e){ 75 if($(this).hasClass("external-link")){ 76 return true; 77 } 78 e.preventDefault(); 79 if(WEBVIEW.contentpage && !$(this).data('key')){ 80 console.log("no key"); 81 return false; 82 } 83 var op = "do_navigation"; 84 if(!$(this).data('key')){ 85 console.log("no key2"); 86 return false; 87 } 88 var key = $(this).data('key'); 89 var type = $(this).data('type'); 90 var fullurl = $(this).data('fullurl'); 91 var itemurl = $(this).data('itemurl'); 92 var services = $(this).data('services'); 93 94 if(fullurl.length > 2 && fullurl.substr(0,2) == '//'){ 95 fullurl = 'https:' + fullurl; 96 } 97 98 if(type == 'livestream'){ 99 WEBVIEW.watch_livestream(fullurl, itemurl, services); 100 return false; 101 } 102 else if(type == 'section_tag'){ 103 WEBVIEW.load_webviews(services, itemurl); 104 return false;
105 } 106 107 108 /* 109 if(typeof WVM.allPlayers !== 'undefined' && WVM.allPlayers.length > 0){ 110 for(var x = 0; x < WVM.allPlayers.length; x++){ 111 console.log("stopping player instance " + x); 112 var aPlayer = WVM.allPlayers[x]; 113 aPlayer.pause(); 114 aPlayer.ima.getAdsManager().pause(); 115 } 116 117 } */ 118 119 120 121 var aMessage = {'op': op, 'action': 'link', 'key': key, 'type': type, 122 'fullurl' : fullurl, 'itemurl': itemurl, 'services': services}; 123 124 console.log("sending message to app:"); 125 console.log(JSON.stringify(aMessage)); 126 127 if(typeof Android !== 'undefined'){ 128 129 Android.doNavigation(aMessage); 130 } 131 else if(typeof window.webkit !== 'undefined' && window.webkit.messageHandlers.interOp){ 132 window.webkit.messageHandlers.interOp.postMessage(aMessage); 133 }else if(typeof window.flutter_inappbrowser != 'undefined'){ 134 window.flutter_inappbrowser.callHandler("doNavigation", 135 op, key, type, fullurl, itemurl, services); 136 } 137 138 if(typeof WVM.activePlayer !== 'undefined'){ 139 //console.log("stopping player with id " + WVM.activePlayer) 140 if(WVM.activePlayer !== null){ 141 WVM.activePlayer.pause(); 142 WVM.activePlayer.ima.getAdsManager().pause(); 143 } 144 } 145 146 147 return false; 148 }); 149 //do not know why above handler doesn't work for #managed_ad_link 150 $('#managed_ad_link').on('click', function(e){ 151 if($(this).hasClass("external-link")){ 152 return true; 153 } 154 e.preventDefault(); 155 if(WEBVIEW.contentpage && !$(this).data('key')){ 156 console.log("no key"); 157 return false; 158 } 159 var op = "do_navigation"; 160 if(!$(this).data('key')){ 161 console.log("no key2"); 162 return false; 163 } 164 var key = $(this).data('key'); 165 var type = $(this).data('type'); 166 var fullurl = $(this).data('fullurl'); 167 var itemurl = $(this).data('itemurl'); 168 var services = $(this).data('services'); 169 170 if(fullurl.length > 2 && fullurl.substr(0,2) == '//'){ 171 fullurl = 'https:' + fullurl; 172 } 173 174 if(type == 'livestream'){ 175 WEBVIEW.watch_livestream(fullurl, itemurl, services); 176 return false; 177 } 178 else if(type == 'applink'){ 179 WEBVIEW.open_weatherapp(); 180 return false; 181 } 182 else if(type == 'section_tag'){ 183 WEBVIEW.load_webviews(services, itemurl); 184 return false; 185 } 186 var aMessage = {'op': op, 'action': 'link', 'key': key, 'type': type, 187 'fullurl' : fullurl, 'itemurl': itemurl, 'services': services}; 188 189 console.log("sending message to app:"); 190 console.log(JSON.stringify(aMessage)); 191 192 if(typeof Android !== 'undefined'){ 193 194 Android.doNavigation(aMessage); 195 } 196 else if(typeof window.webkit !== 'undefined' && window.webkit.messageHandlers.interOp){ 197 window.webkit.messageHandlers.interOp.postMessage(aMessage); 198 }else if(typeof window.flutter_inappbrowser != 'undefined'){ 199 window.flutter_inappbrowser.callHandler("doNavigation", 200 op, key, type, fullurl, itemurl, services); 201 } 202 203 if(typeof WVM.activePlayer !== 'undefined'){ 204 //console.log("stopping player with id " + WVM.activePlayer) 205 if(WVM.activePlayer !== null){ 206 WVM.activePlayer.pause(); 207 WVM.activePlayer.ima.getAdsManager().pause(); 208 } 209 } 210 211 212 return false; 213 }); 214 215 }; 216 217 WEBVIEW.watch_livestream = function(streamUrl, itemUrl, services){ 218 var op = "do_navigation"; 219 220 var aMessage = {'op': op, 'action': "watch_livestream", 'type': "livestream", 221 'fullurl' : streamUrl, 'itemurl': itemUrl, 'services': services}; 222 console.log("sending message to app:"); 223 console.log(JSON.stringify(aMessage)); 224 225 if(typeof Android !== 'undefined'){ 226 var stringData = JSON.stringify(aMessage); 227 Android.doNavigation(stringData); 228 } 229 else if(typeof window.webkit !== 'undefined' && window.webkit.messageHandlers.interOp){
230 window.webkit.messageHandlers.interOp.postMessage(aMessage); 231 }else if(typeof window.flutter_inappbrowser != 'undefined'){ 232 window.flutter_inappbrowser.callHandler("addUserTag", 233 op, key, type, fullurl, itemurl, services); 234 } 235 236 }; 237 238 WEBVIEW.open_weatherapp = function(){ 239 var op = "do_navigation"; 240 241 var aMessage = {'op': op, 'action': "weatherapp", 'type': "applink", 242 'fullurl' : '', 'itemurl': 'weather', 'services': ''}; 243 console.log("sending message to app:"); 244 console.log(JSON.stringify(aMessage)); 245 246 if(typeof Android !== 'undefined'){ 247 var stringData = JSON.stringify(aMessage); 248 Android.doNavigation(stringData); 249 } 250 else if(typeof window.webkit !== 'undefined' && window.webkit.messageHandlers.interOp){ 251 window.webkit.messageHandlers.interOp.postMessage(aMessage); 252 } 253 254 }; 255 256 WEBVIEW.log_stats = function(actionType, actionUrl, threadUrl){ 257 var op = "log_stats"; 258 259 var itemUrl = threadUrl; 260 if(!threadUrl){ 261 itemUrl = WCS.USER_EMAIL; 262 } 263 264 var serviceUrl = ''; 265 if(actionUrl){ 266 serviceUrl = WEBVIEW.SERVICES_URL + 'cbs58/videos/' + actionUrl; 267 } 268 269 var aMessage = {'op': op, 'action': actionType, 'type': "stats", 270 'fullurl' : itemUrl, 'itemurl': itemUrl, 'services': serviceUrl}; 271 console.log("sending stats message to app:"); 272 console.log(JSON.stringify(aMessage)); 273 274 if(typeof Android !== 'undefined'){ 275 var stringData = JSON.stringify(aMessage); 276 Android.doNavigation(stringData); 277 } 278 else if(typeof window.webkit !== 'undefined' && window.webkit.messageHandlers.interOp){ 279 window.webkit.messageHandlers.interOp.postMessage(aMessage); 280 }else if(typeof window.flutter_inappbrowser != 'undefined'){ 281 window.flutter_inappbrowser.callHandler("addUserTag", 282 op, key, type, fullurl, itemurl, services); 283 } 284 285 }; 286 287 288 289 WEBVIEW.getWebviewParams = function(){ 290 var params = "?access_token=" + WEBVIEW.access_token; 291 if(WEBVIEW.contentpage){ 292 params += "&contentview=2"; 293 } 294 return params; 295 }; 296 297 298 WEBVIEW.error = function(theError){ 299 //webview error? 300 alert(theError); 301 } 302 303 304 WEBVIEW.change_push_notifications = function(isOn, theTopic){ 305 306 var action = "on"; 307 var servicesUrl = WEBVIEW.SERVICES_URL + WEBVIEW.site_name + '/sns/subscribe_topic'; 308 if(!isOn){ 309 action = 'off'; 310 servicesUrl = WEBVIEW.SERVICES_URL + WEBVIEW.site_name + '/sns/unsubscribe_topic'; 311 //$ 312 } 313 314 var fullUrl = ""; 315 if($('#breaking_val').val() == '1'){ 316 fullUrl = "breaking"; 317 } 318 if($('#programming_val').val() == '1'){ 319 if(fullUrl == 'breaking'){ 320 fullUrl = "breaking|programming"; 321 } 322 else{ 323 fullUrl = "programming"; 324 } 325 } 326 if($('#hometown_val').length > 0){ 327 if($('#hometown_val').val() == '1'){ 328 if(fullUrl == ""){ 329 fullUrl = "hometown"; 330 }else{ 331 fullUrl = fullUrl + "|hometown"; 332 } 333 } 334 } 335 336 var op = "update_push_notifications"; 337 338 var aMessage = {'op': op, 'action': action, 'type': "app_push", 339 'fullurl' : fullUrl, 'itemurl': theTopic, 'services': servicesUrl}; 340 console.log("sending message to app:"); 341 console.log(JSON.stringify(aMessage)); 342 343 if(typeof Android !== 'undefined'){ 344 var stringData = JSON.stringify(aMessage); 345 Android.doNavigation(stringData); 346 } 347 else if(typeof window.webkit !== 'undefined' && window.webkit.messageHandlers.interOp){
348 window.webkit.messageHandlers.interOp.postMessage(aMessage); 349 }else if(typeof window.flutter_inappbrowser != 'undefined'){ 350 window.flutter_inappbrowser.callHandler("addUserTag", 351 op, aMessage['action'], aMessage['type'], '', 'itemurl', servicesUrl); 352 } 353 354 355 }; 356 357 358function refreshWebviewAdSizes(){ 359 var startTopWidth = $('#' + ADS_SITE_NAME + '_app_top iframe').first().width(); 360 var startSideWidth = $('#' + ADS_SITE_NAME + '_app_middle iframe').first().width(); 361 var startMiddleWidth = $('#' + ADS_SITE_NAME + '_app_bottom iframe').first().width(); 362 363 if(startTopWidth > 200 && startTopWidth != $('#' + ADS_SITE_NAME + '_app_top').css('width')){ 364 // console.log("changed top width " + startTopWidth); 365 $('#' + ADS_SITE_NAME + '_app_top').width(startTopWidth); 366 $('#' + ADS_SITE_NAME + '_app_top').height($('#' + ADS_SITE_NAME + '_app_top').css('height')); 367 } 368 if(startSideWidth > 200 && startSideWidth != $('#' + ADS_SITE_NAME + '_app_middle').css('width')){ 369 // console.log("changed top width " + startTopWidth); 370 $('#' + ADS_SITE_NAME + '_app_middle').width(startSideWidth); 371 $('#' + ADS_SITE_NAME + '_app_middle').height($('#' + ADS_SITE_NAME + '_app_middle').css('height')); 372 } 373 if(startMiddleWidth > 200 && startMiddleWidth != $('#' + ADS_SITE_NAME + '_app_middle').css('width')){ 374 // console.log("changed top width " + startTopWidth); 375 $('#' + ADS_SITE_NAME + '_app_bottom').width(startMiddleWidth); 376 $('#' + ADS_SITE_NAME + '_app_bottom').height($('#' + ADS_SITE_NAME + '_app_bottom').css('height')); 377 } 378} 379 380 381function refreshAppAdSizes(){ 382 var startTopWidth = $('#' + WEBVIEW.site_name + '_app_top iframe').first().width(); 383 var startTopHeight = $('#' + ADS_SITE_NAME + '_app_top iframe').first().height(); 384 var startMiddleWidth = $('#' + WEBVIEW.site_name + '_app_middle iframe').first().width(); 385 var startMiddleHeight = $('#' + ADS_SITE_NAME + '_app_middle iframe').first().height(); 386 var startBottomWidth = $('#' + WEBVIEW.site_name + '_app_bottom iframe').first().width(); 387 var startBottomHeight = $('#' + WEBVIEW.site_name + '_app_bottom iframe').first().height(); 388 389 if(startTopWidth > 0 && startTopWidth != $('#' + WEBVIEW.site_name + '_app_top').css('width')){ 390 // console.log("changed top width " + startTopWidth); 391 $('#' + WEBVIEW.site_name + '_app_top').width(startTopWidth); 392 393 var $parent = $('#' + WEBVIEW.site_name + '_app_top').parent(); 394 $parent.height(startTopHeight); 395 $('#' + WEBVIEW.site_name + '_app_top').height(startTopHeight); 396 if(startTopHeight > 250){ 397 var extraHeight = startTopHeight - 250; 398 extraHeight += 20; 399 $parent.css('margin-bottom', extraHeight); 400 } 401 402 403 if($('#' + WEBVIEW.site_name + '_app_top').css('position') == 'fixed'){ 404 //calculate left 405 var width = window.innerWidth || document.documentElement.clientWidth; 406 var leftPos = parseInt((width - startTopWidth) / 2); 407 //console.log("left is " + leftPos); 408 $('#' + WEBVIEW.site_name + '_app_top').css('left', leftPos + "px"); 409 } 410 } 411 412 413 if(startMiddleWidth > 0 && startMiddleWidth != $('#' + WEBVIEW.site_name + '_app_middle').css('width')){ 414 // console.log("changed top width " + startTopWidth); 415 $('#' + WEBVIEW.site_name + '_app_middle').width(startMiddleWidth); 416 var $parent = $('#' + WEBVIEW.site_name + '_app_middle').parent(); 417 $parent.height(startMiddleHeight); 418 $('#' + WEBVIEW.site_name + '_app_middle').height(startMiddleHeight); 419 420 if(startMiddleHeight > 250){ 421 var extraHeight = startMiddleHeight - 250; 422 extraHeight += 20; 423 $parent.css('margin-bottom', extraHeight); 424 } 425
426 if($('#' + WEBVIEW.site_name + '_app_middle').css('position') == 'fixed'){ 427 //calculate left 428 var width = window.innerWidth || document.documentElement.clientWidth; 429 var leftPos = parseInt((width - startMiddleWidth) / 2); 430 //console.log("left is " + leftPos); 431 $('#' + WEBVIEW.site_name + '_app_middle').css('left', leftPos + "px"); 432 } 433 } 434 435 if(startBottomWidth > 0 && startBottomWidth != $('#' + WEBVIEW.site_name + '_app_bottom').css('width')){ 436 // console.log("changed top width " + startTopWidth); 437 $('#' + WEBVIEW.site_name + '_app_bottom').width(startBottomWidth); 438 var $parent = $('#' + WEBVIEW.site_name + '_app_bottom').parent(); 439 $parent.height(startBottomHeight); 440 $('#' + WEBVIEW.site_name + '_app_bottom').height(startBottomHeight); 441 442 if(startBottomHeight > 250){ 443 var extraHeight = startBottomHeight - 250; 444 extraHeight += 20; 445 $parent.css('margin-bottom', extraHeight); 446 } 447 448 if($('#' + WEBVIEW.site_name + '_app_bottom').css('position') == 'fixed'){ 449 //calculate left 450 var width = window.innerWidth || document.documentElement.clientWidth; 451 var leftPos = parseInt((width - startBottomWidth) / 2); 452 //console.log("left is " + leftPos); 453 $('#' + WEBVIEW.site_name + '_app_bottom').css('left', leftPos + "px"); 454 } 455 } 456 var theHeight = parseInt($('html').height()); 457 var bodyHeight = parseInt($('body').height()); 458 if(!theHeight || theHeight <= 0){ 459 theHeight = bodyHeight; 460 } 461 if(theHeight > 0 && theHeight > WEBVIEW.HEIGHT){ 462 WEBVIEW.HEIGHT = theHeight; 463 WEBVIEW.heightUpdated(WEBVIEW.HEIGHT); 464 } 465 466} 467 468function favoriteHandlers(){ 469 var setUserTag = function(tagLink, callback){ 470 471 $.ajax({ 472 url:'/ajax_comments/add_user_tag/?' + new Date().getTime(), 473 data:{ 474 taglink: tagLink, 475 access_token: WEBVIEW.access_token 476 }, 477 dataType:'json', 478 type:'POST', 479 success:function(data){ 480 if(data['success'] = 'true'){ 481 callback(); 482 }else{ 483 if(WEBVIEW.is_webview || WEBVIEW.only_content){ 484 WCS.showModal(data['msg'], "OK", function(){}); 485 }else{ 486 WEBVIEW.error(data['msg']); 487 } 488 } 489 }, error : function(data){ 490 alert("There was an error with your request"); 491 } 492 }); 493 }; 494 495 var removeUserTag = function(tagLink, callback){ 496 497 $.ajax({ 498 url:'/ajax_comments/remove_user_tag/?' + new Date().getTime(), 499 data:{ 500 taglink: tagLink, 501 access_token: WEBVIEW.access_token 502 }, 503 dataType:'json', 504 type:'POST', 505 success:function(data){ 506 if(data['success'] = 'true'){ 507 callback(); 508 }else{ 509 if(WEBVIEW.is_webview || WEBVIEW.only_content){ 510 WCS.showModal(data['msg'], "OK", function(){}); 511 }else{ 512 WEBVIEW.error(data['msg']); 513 } 514 } 515 }, error : function(data){ 516 alert("There was an error with your request"); 517 } 518 }); 519 }; 520 521 $('.topic-follow-button').on('click', function(e){ 522 var me = this; 523 //console.log("here1"); 524 console.log(me); 525 if(me.hasAttribute('data-taglink')){ 526 527 var tagLink = $(this).data('taglink'); 528 console.log("here-----tag"); 529 console.log(tagLink); 530 531 var subscribed = false; 532 var subscribedText = $(this).data('subscribed'); 533 //var followButtonText = $(this).data('followbuttontext');
534 if(subscribedText == 'yes'){ 535 subscribed = true; 536 } 537 if(subscribed){ 538 var modalFunction; 539 if(WEBVIEW.is_webview || WEBVIEW.only_content){ 540 //dont use modal in webviews... it goes to top of page 541 //modalFunction = WEBVIEW.showModal; 542 removeUserTag(tagLink, function(){ 543 $(me).removeClass('notfollowing').removeClass('following'); 544 $(me).addClass('notfollowing'); 545 $(me).find('.topic-follow-plus-container').html('<i class="fa fa-plus"></i>'); 546 $(me).data('subscribed', 'no'); 547 if($(me).find('.topic-follow-text-container').text().trim() == 'Unfollow Topic'){ 548 $(me).find('.topic-follow-text-container').text('Follow Topic'); 549 } 550 if(WEBVIEW.REMOVE_FOLLOW_TAG){ 551 $(me).remove(); 552 if($('.topic-follow-button').length <= 0){ 553 $('.content-listing.app').remove(); 554 } 555 } 556 }); 557 return; 558 }else{ 559 modalFunction = WCS.showModal; 560 } 561 modalFunction("Are you sure you want to stop following this topic?", "Unfollow Topic", function(doit){ 562 if(doit){ 563 removeUserTag(tagLink, function(){ 564 $(me).removeClass('notfollowing').removeClass('following'); 565 $(me).addClass('notfollowing'); 566 $(me).find('.topic-follow-plus-container').html('<i class="fa fa-plus"></i>'); 567 $(me).data('subscribed', 'no'); 568 }); 569 } 570 }); 571 }else{ 572 var invalidPrompt = false; 573 if(WEBVIEW.is_webview || WEBVIEW.only_content){
574 invalidPrompt = WEBVIEW.is_invalid_user("add-user-tag", 'to follow a topic'); 575 }else{ 576 invalidPrompt = WCS.is_invalid_user('to follow a topic', "We love that topic too!", "Log in now or create an account to see new stories about it."); 577 } 578 if(!invalidPrompt){ 579 setUserTag(tagLink, function(){ 580 $(me).removeClass('notfollowing').removeClass('following'); 581 $(me).addClass('following'); 582 $(me).find('.topic-follow-plus-container').html('<i class="fa fa-minus"></i>'); 583 alert("text " + $(me).find('.topic-follow-text-container').text()); 584 585 if($(me).find('.topic-follow-text-container').text().trim() == 'Follow Topic'){ 586 $(me).find('.topic-follow-text-container').text('Unfollow Topic'); 587 } 588 589 $(me).data('subscribed', 'yes'); 590 }); 591 } 592 } 593 } 594 595 596 597 }); 598} 599 600 601 WEBVIEW.ORIGINAL_VOLUME = 0.0; 602 function muteActivePlayer(){ 603 var player = WVM.activePlayer; 604 player.pause(); 605 player.ima.getAdsManager().pause(); 606 /* 607 WEBVIEW.ORIGINAL_VOLUME = player.volume(); 608 console.log("setting volume to 0.0"); 609 console.log(player); 610 player.muted(true); 611 //var adsManager = player.ima.getAdsManager(); 612 //adsManager.setVolume(0.0); 613 $('.mute-overlay').show(); 614 $('.mute-overlay').css('display', 'block'); 615 */ 616 } 617 618 function unmuteActivePlayer(){ 619 var player = WVM.activePlayer; 620 //player.play(); 621 /* 622 player.ima.getAdsManager().pause(); 623 624 if(WEBVIEW.ORIGINAL_VOLUME < 0.05){ 625 WEBVIEW.ORIGINAL_VOLUME = 1.0; 626 }
627 console.log("setting volume to " + WEBVIEW.ORIGINAL_VOLUME); 628 console.log(player); 629 player.muted(false); 630 $('.mute-overlay').hide(); 631 $('.mute-overlay').css('display', 'none'); 632 */ 633 //player.volume(WEBVIEW.ORIGINAL_VOLUME); 634 //var adsManager = player.ima.getAdsManager(); 635 //adsManager.setVolume(ORIGINAL_VOLUME); 636 } 637 638
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.