');this.container.$el.append(this.$el);return this;}});var player=new Clappr.Player({hideVolumeBar:true,autoSeekFromUrl:false,autoPlay:!Clappr.Browser.isMobile,nkey:'8642713243.jpg',playback:{playInline:true,recycleVideo:Clappr.Browser.isMobile},source:'livee.m3u8?a=6vgibmkhrjd3ekl4gjgn6kbp27',persistConfig:true,watermark:'https://cdn.jsdelivr.net/gh/SkylineWebcams/web@main/skylinewebcams.svg',plugins:{core:[ClapprImaPlugin],container:[SkylineWebcams]},imaPlugin:{requestAdIfNoAutoplay:true,disableNonLinearForIOS:true,resetAdOnEnded:false,imaAdPlayer:{tag:'https://googleads.g.doubleclick.net/pagead/ads?ad_type=video&client=ca-video-pub-3692263245422372&description_url=https%3A%2F%2Fwww.skylinewebcams.com%2Fes%2Fwebcam%2Fmalta%2Fgozo%2Fmgarr%2Fgozo-mgarr.html&videoad_start_delay=0&max_ad_duration=15000',vpaidMode:2,locale:'es'}}});document.addEventListener("visibilitychange",(event)=>{if(document.visibilityState=="visible"){player.play();}else{player.stop();}});player.on(Clappr.Events.PLAYER_PLAY,function(){$(".drawer-container[data-volume]").hide();});$nav_p=$nav_d=$nav_c=0;$(".nav-tabs a,.tab-pane a").click(function(e){var url=$(this).attr("href");if((url=="#tab_photo"||url=="#col-photo")&&$nav_p==0){$("#col-photo").load("https://photo.skylinewebcams.com/pht.php?pid=864&l=es");$nav_p=1;}});