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_F6NW9r5W”). Children (). length> 0) {setTitle (“embeb_F6NW9r5W”);} else {jwplayer (“embeb_F6NW9r5W”). on (‘ready’, function (event) {setTitle (“embeb_F6NW9r5W”); ns_.StreamingAnalytics.JWPlayer (jwplayer (“embeb_F6NW9r5W”), {publisherId: “6906409”,};});} jwplayer (“embeb_F6W”) . On (‘pause’, function (event) {var passId = “embeb_F6NW9r5W”; var site = “clarin”; if (site ==’clarin’) {if ($ (‘# customTitleFor’+ passId) .length = = 0) {var title = jwplayer (“embeb_F6NW9r5W”). 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_F6NW9r5W”). 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_F6NW9r5W”). getPlaylist (),’pause’);}); jwplayer (“embeb_F6NW9r5W”). on (‘play’, function (event) {var passId = “embeb_F6NW9r5W”; 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_F6NW9r5W”). getPlaylist (),’resume’);}); jwplayer (“embeb_F6NW9r5W”). on (‘firstFrame’, function (event) {sendData (jwplayer (“embeb_F6NW9r5W”). getPlaylist (),’start’);}); jwplayer (“embeb_F6NW9r5W”). on (‘complete’, function (event) {sendData (jwplayer (“embeb_F6NW9r5W”). getPlaylist (),’complete’);}); jwplayer (“embeb_F6NW9r5W”). on (‘adStarted’, function (event) {sendData (jwplayer (“embeb_F6NW9r5W”). getPlaylist (),’adstart’);}); jwplayer (“embeb_F6NW9r5W”). on (‘adPlay’, function (event) {sendData (jwplayer (“embeb_F6NW9r5W”). getPlaylist (),’adplay’);}); jwplayer (“embeb_F6NW9r5W”). on (‘adPause’, function (event) {sendData (jwplayer (“embeb_F6NW9r5W”). getPlaylist (),’adpause’);}); jwplayer (“embeb_F6NW9r5W”). on (‘adComplete’, function (event) {sendData (jwplayer (“embeb_F6NW9r5W”). getPlaylist (),’adcomplete’);});
Source: Clarin