if (window.innerWidth < 481) { $('#' + currId + ' .jw-title-primary').text('Mira el video'); if ($("#"+ currId + " .videoCustomFooter").length > 0) { $($("#"+ currId + " .videoCustomFooter")).text(currTitle); } else { $($("#" + currId)[0].parentElement).append("
“);}} var currDuration = $ (‘#’ + currId + ‘.jw-text-countdown’)[0].textContent; $ (‘#’ + currId + ‘.jw-title-secondary p’). text (currDuration); }} if ($ (“# embeb_QpMKnHRG”). children (). length> 0) {setTitle (“embeb_QpMKnHRG”); } else {jwplayer (“embeb_QpMKnHRG”). on (‘ready’, function (event) {setTitle (“embeb_QpMKnHRG”); var labelVideo = JSON.parse (jwplayer (“embeb_QpMKnHRG”). getPlaylistItem); n_sore .StreamingAnalytics.JWPlayer (jwplayer (“embeb_QpMKnHRG”), {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 =” ‘+ label_Video.ns. “, 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_QpMKnHRG”). on (‘pause’, function (event) {var passId = “embeb_QpMKnHRG”; var site = “clarin”; if (site == ‘clarin’) {if ($ (‘# customTitleFor ‘+ passId) .length == 0) {var title = jwplayer (“embeb_QpMKnHRG”). getPlaylist ()[0].title; // $ ($ (“#” + passId + “.genoaPlayerV3 .vjs-overlay.vjs-overlay-top.vjs-overlay-background”)). addClass (‘disabled’); $ (“#” + IDpass) .append (“
“+ title +”
“); $ (” # customTitleFor “+ passId) .attr (‘style’, ‘display: block’); $ (” # “+ passId +” .jw-media “). addClass (‘degraded’);} else {var curTitle = $ (“# customTitleFor” + passId)[0].textContent; var newTitle = jwplayer (“embeb_QpMKnHRG”). 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_QpMKnHRG”). getPlaylist (), ‘pause’); }); jwplayer (“embeb_QpMKnHRG”). on (‘play’, function (event) {var passId = “embeb_QpMKnHRG”; var site = “clarin”; 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_QpMKnHRG”). getPlaylist (), ‘resume’);}); jwplayer (“embeb_QpMKnHRG”). on (‘firstFrame’, function (event) {sendData (jwplayer (“embeb_QpMKnHRG”). getPlaylist (), ‘start’);}); jwplayer (“embeb_QpMKnHRG”). on (‘complete’, function (event) {sendData (jwplayer (“embeb_QpMKnHRG”). getPlaylist (), ‘complete’);}); jwplayer (“embeb_QpMKnHRG”). on (‘adStarted’, function (event) {sendData (jwplayer (“embeb_QpMKnHRG”). getPlaylist (), ‘adstart’);}); jwplayer (“embeb_QpMKnHRG”). on (‘adPlay’, function (event) {sendData (jwplayer (“embeb_QpMKnHRG”). getPlaylist (), ‘adplay’);}); jwplayer (“embeb_QpMKnHRG”). on (‘adPause’, function (event) {sendData (jwplayer (“embeb_QpMKnHRG”). getPlaylist (), ‘adpause’);}); jwplayer (“embeb_QpMKnHRG”). on (‘adComplete’, function (event) {sendData (jwplayer (“embeb_QpMKnHRG”). getPlaylist (), ‘adcomplete’);});
Source: Clarin