src/js/widgets/playerWidget.js
branchpopcorn-port
changeset 444 9e58d99a4ae4
parent 440 bf9307640e55
child 446 d801a7f9c7c5
equal deleted inserted replaced
443:7612eced3867 444:9e58d99a4ae4
    73    because in some cases (for instance, when the user directly clicks on
    73    because in some cases (for instance, when the user directly clicks on
    74    the jwplayer window) we have to change the icon without playing/pausing
    74    the jwplayer window) we have to change the icon without playing/pausing
    75 */
    75 */
    76 IriSP.PlayerWidget.prototype.playButtonUpdater = function() {
    76 IriSP.PlayerWidget.prototype.playButtonUpdater = function() {
    77   var status = this._Popcorn.media.paused;
    77   var status = this._Popcorn.media.paused;
    78   console.log("called!");
       
    79   
    78   
    80   if ( status == true ){        
    79   if ( status == true ){        
    81     this.selector.find(".Ldt-CtrlPlay").attr("title", "Play");
    80     this.selector.find(".Ldt-CtrlPlay").attr("title", "Play");
    82    
    81    
    83     // we use templToHTML because it has some predefined
    82     // we use templToHTML because it has some predefined