1$(document).ready(function() { 2 $(".botao_menu_lateral").click(function() { 3 menu_lateral(); 4 }); 5 6 $(".menu_lateral").click(function() { 7 menu_lateral_voltar(); 8 }); 9 $(".menu_lateral_menu").click(function() { 10 menu_lateral_voltar(); 11 }); 12 13 $(".bolinha_editoria").mouseenter(function() { 14 $(this).find('.label').stop().show("fast"); 15 }); 16 $(".bolinha_editoria").mouseleave(function() { 17 $(this).find('.label').stop().hide("fast"); 18 }); 19 20 $("#card_aovivo").mouseenter(function() { 21 tag_aovivo(); 22 }); 23 $("#card_aovivo").mouseleave(function() { 24 tag_aovivo_voltar(); 25 }); 26}); 27 28function menu_lateral(){ 29 $(".menu_lateral").animate({left:'0'},{duration:500}); 30 $(".menu_lateral_menu").animate({opacity:.7},{duration:500}); 31 $(".menu_lateral_menu").css("width", "100%"); 32 $("body").addClass("no_scroll"); 33} 34function menu_lateral_voltar(){ 35 $(".menu_lateral").animate({left:'-500px'},{duration:300}); 36 $(".menu_lateral_menu").animate({opacity:0},{duration:500}); 37 $(".menu_lateral_menu").css("width", "0"); 38 $("body").removeClass("no_scroll"); 39} 40 41function tag_aovivo(){ 42 $(".tag_aovivo").animate({marginTop:'40px'},{duration:500}); 43} 44function tag_aovivo_voltar(){ 45 $(".tag_aovivo").animate({marginTop:'-50px'},{duration:500}); 46} 47 48function rodar_video(tipo, id, diretorio) { 49 50 let rand = Math.floor(Math.random() * 100000) + 1; 51 52 if(tipo == "dailymotion"){ 53 $("#video_noticia").html('<iframe width="1280" height="720" frameborder="0" type="text/html" src="https://www.dailymotion.com/embed/video/'+id+'?autoplay=1" width="100%" height="100%" allowfullscreen title="Dailymotion Video Player" allow="autoplay"> </iframe>'); 54 } else if(tipo == "terra"){ 55 // Array de IDs 56 const ids = ["66b668cdc05f3", "66b6640f21f48", "66b664daef3b7", "66b66ec3ec935", "66b66e306e197", "66b66bbcd277b", "66b64ca519efc", "66b670c8f063e", "66b67988e40f2"]; 57 58 // ID que você quer verificar 59 const idToCheck = id.trim(); 60 61 // Variável que depende da verificação 62 let isPresent = ids.includes(idToCheck); 63 64 65 if (isPresent) { 66 caminho = "https://sgc.com.br/videos/"; 67 } else { 68 caminho = "https://sgc.com.br/videos/"; 69 } 70 71 console.log(caminho+diretorio+"/"+id.trim()+".mp4?"); 72 console.log(id); 73 74 /*$("#video_noticia").html('<iframe width="1280" height="720" src="https://p1.trrsf.com/playerttv/ganesha-backend/iframe.html?content_id='+id+'&country=br&advertisement=false&autoplay=true" allowfullscreen="" webkitallowfullscreen="" mozallowfullscreen="" oallowfullscreen="" msallowfullscreen="" frameborder="0"></iframe><style type="text/css">.t360-player--disclaimer{ position: inherit; display: none; }</style>');*/ 75 $("#video_noticia").html( 76 '<video controls controlsList="nodownload" oncontextmenu="return false;" controls autoplay src="' + 77 caminho + 78 diretorio + 79 "/"+id.trim()+".mp4?" + 80 rand + 81 '"></video>' 82 ); 83 } else if(tipo == "youtube"){ 84 $("#video_noticia").html('<iframe width="1280" height="720" src="https://www.youtube.com/embed/'+id+'?autoplay=1" title="catve.com" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'); 85 } else if(tipo == "facebook"){ 86 $("#video_noticia").html('<iframe src="https://www.facebook.com/plugins/video.php?height=486&href=https%3A%2F%2Fwww.facebook.com%2Fportalcatve%2Fvideos%2F'+id+'%2F&show_text=false&width=864&t=0" width="560" height="314" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share" allowFullScreen="true"></iframe>'); 87 } else if(tipo == "aovivo"){ 88 89 } else if(tipo == "video_terra_novo"){ 90 $("#video_noticia").html('<iframe src="https://p1.trrsf.com/playerttv/videoservice/iframe.html?content_id='+id+'&country=br&autoplay=true" width="770" height="460" frameborder="0" scrolling="auto" allowfullscreen></iframe>'); 91 } 92 93}
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.