«Tengo ganas de que el TC vuelva a la ruta»

0
56

«); } } var currDuration = $(‘#’ + currId + ‘ .jw-text-countdown’)[0].textContent; $(‘#’ + currId + ‘ .jw-title-secondary p’).text(currDuration); } } if ($(«#embeb_Zaj7BxJ7»).children().length > 0) { setTitle(«embeb_Zaj7BxJ7»); } else { jwplayer(«embeb_Zaj7BxJ7»).on(‘ready’, function(event){ setTitle(«embeb_Zaj7BxJ7»); var labelVideo = JSON.parse(jwplayer(«embeb_Zaj7BxJ7»).getPlaylistItem().comscore); ns_.StreamingAnalytics.JWPlayer(jwplayer(«embeb_Zaj7BxJ7»),{ publisherId: «6906409», labelmapping: ‘c3=»‘+labelVideo.c3+'»,c4=»*null»,c6=»*null»,ns_site=»‘+labelVideo.ns_site+'»,ns_st_dt=»‘+labelVideo.ns_st_dt+'»,ns_st_pl=»‘+labelVideo.ns_st_pl+'»,ns_st_ep=»‘+labelVideo.ns_st_ep+'»,ns_st_pr=»‘+labelVideo.ns_st_pr+'»,ns_st_mp=»‘+labelVideo.ns_st_mp+'»,ns_st_cl=»‘+labelVideo.ns_st_cl+'», ns_st_pu=»Clarin Digital», ns_st_st=»‘+labelVideo.c3+'»‘ }); }); } jwplayer(«embeb_Zaj7BxJ7»).on(‘pause’, function(event) { var passId = «embeb_Zaj7BxJ7»; var site = «ole»; if (site == ‘clarin’) { if ($(‘#customTitleFor’ + passId).length == 0) { var title = jwplayer(«embeb_Zaj7BxJ7»).getPlaylist()[0].title; //$($(«#» + passId+» .genoaPlayerV3 .vjs-overlay.vjs-overlay-top.vjs-overlay-background»)).addClass(‘disabled’); $(«#» + passId).append(«

» + title +»

«); $(«#customTitleFor» + passId).attr(‘style’,’display: block’); $(«#» + passId + » .jw-media»).addClass(‘degraded’); } else { var curTitle = $(«#customTitleFor» + passId)[0].textContent; var newTitle = jwplayer(«embeb_Zaj7BxJ7»).getPlaylist()[0].title; if (newTitle != curTitle) { $(«#customTitleFor» + passId).text(newTitle); } $(«#customTitleFor» + passId).attr(‘style’,’display: block’); $(«#» + passId + » .jw-media»).addClass(‘degraded’); } //$(«#» + passId + » .jw-controlbar»).addClass(‘disabled’); $(«#» + passId + » .jw-svg-icon-play»).css(«display»,»block»); $(«#» + passId + » .jw-svg-icon-pause»).css(«display»,»none»); } else { $(«#» + passId + » .jw-media»).addClass(‘degraded’); $(«#» + passId + » .jw-title»).css(‘display’, ‘block’); $(«#» + passId + » .jw-controlbar»).css(‘display’,’none’); $(«#» + passId + » .jw-display»).css(‘display’,’flex’); $(«#» + passId + » .jw-display-icon-rewind»).css(‘display’,’none’); $(«#» + passId + » .jw-display-icon-next»).css(‘display’,’none’); } sendData(jwplayer(«embeb_Zaj7BxJ7»).getPlaylist(),’pause’); }); jwplayer(«embeb_Zaj7BxJ7»).on(‘play’, function(event) { var passId = «embeb_Zaj7BxJ7»; var site = «ole»; if (site == ‘clarin’) { if ($(‘#customTitleFor’ + passId).length != 0) { $(«#customTitleFor» + passId).attr(‘style’,’display: none’); $(«#» + passId + » .jw-media»).removeClass(‘degraded’); } //$(«#» + passId + » .jw-controlbar»).removeClass(‘disabled’); $(«#» + passId + » .jw-svg-icon-play»).css(«display»,»none»); $(«#» + passId + » .jw-svg-icon-pause»).css(«display»,»block»); } else { $(«#» + passId + » .jw-media»).removeClass(‘degraded’); $(«#» + passId + » .jw-title»).css(‘display’, ‘none’); $(«#» + passId + » .jw-controlbar»).css(‘display’,’block’); $(«#» + passId + » .jw-display»).css(‘display’,’flex’); $(«#» + passId + » .jw-display-icon-rewind»).css(‘display’,’none’); $(«#» + passId + » .jw-display-icon-next»).css(‘display’,’none’); } sendData(jwplayer(«embeb_Zaj7BxJ7»).getPlaylist(),’resume’); }); jwplayer(«embeb_Zaj7BxJ7»).on(‘firstFrame’, function(event) { sendData(jwplayer(«embeb_Zaj7BxJ7»).getPlaylist(),’start’); }); jwplayer(«embeb_Zaj7BxJ7»).on(‘complete’, function(event) { sendData(jwplayer(«embeb_Zaj7BxJ7»).getPlaylist(),’complete’); }); jwplayer(«embeb_Zaj7BxJ7»).on(‘adStarted’, function(event) { sendData(jwplayer(«embeb_Zaj7BxJ7»).getPlaylist(),’adstart’); }); jwplayer(«embeb_Zaj7BxJ7»).on(‘adPlay’, function(event) { sendData(jwplayer(«embeb_Zaj7BxJ7»).getPlaylist(),’adplay’); }); jwplayer(«embeb_Zaj7BxJ7»).on(‘adPause’, function(event) { sendData(jwplayer(«embeb_Zaj7BxJ7»).getPlaylist(),’adpause’); }); jwplayer(«embeb_Zaj7BxJ7»).on(‘adComplete’, function(event) { sendData(jwplayer(«embeb_Zaj7BxJ7»).getPlaylist(),’adcomplete’); });