‘>
“);}} var currDuration = $ (‘#’ + currId + ‘.jw-text-countdown’)[0].textContent; $ (‘#’ + currId + ‘.jw-title-secondary p’). text (currDuration); }} if ($ (“#embeb_Z7pO3ICx”). children (). length> 0) {setTitle (“embeb_Z7pO3ICx”); } else {jwplayer (“embeb_Z7pO3ICx”). on (‘ready’, function (event) {setTitle (“embeb_Z7pO3ICx”);}); } jwplayer (“embeb_Z7pO3ICx”). on (‘pause’, function (event) {var passId = “embeb_Z7pO3ICx”; var site = “clarin”; if (site == ‘clarin’) {if ($ (‘#customTitleFor ‘ + passId) .length == 0) {var title = jwplayer (“embeb_Z7pO3ICx”). 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_Z7pO3ICx”). 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_Z7pO3ICx”). getPlaylist (), ‘pause’); }); jwplayer (“embeb_Z7pO3ICx”). on (‘play’, function (event) {var passId = “embeb_Z7pO3ICx”; 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_Z7pO3ICx”). getPlaylist (), ‘resume’);}); jwplayer (“embeb_Z7pO3ICx”). on (‘firstFrame’, function (event) {sendData (jwplayer (“embeb_Z7pO3ICx”). getPlaylist (), ‘start’);}); jwplayer (“embeb_Z7pO3ICx”). on (‘complete’, function (event) {sendData (jwplayer (“embeb_Z7pO3ICx”). getPlaylist (), ‘complete’);}); jwplayer (“embeb_Z7pO3ICx”). on (‘adStarted’, function (event) {sendData (jwplayer (“embeb_Z7pO3ICx”). getPlaylist (), ‘adstart’);}); jwplayer (“embeb_Z7pO3ICx”). on (‘adPlay’, function (event) {sendData (jwplayer (“embeb_Z7pO3ICx”). getPlaylist (), ‘adplay’);}); jwplayer (“embeb_Z7pO3ICx”). on (‘adPause’, function (event) {sendData (jwplayer (“embeb_Z7pO3ICx”). getPlaylist (), ‘adpause’);}); jwplayer (“embeb_Z7pO3ICx”). on (‘adComplete’, function (event) {sendData (jwplayer (“embeb_Z7pO3ICx”). getPlaylist (), ‘adcomplete’);});
Source: Clarin