22 this._Popcorn.listen("play", IriSP.wrap(this, this.playButtonUpdater)); |
22 this._Popcorn.listen("play", IriSP.wrap(this, this.playButtonUpdater)); |
23 this._Popcorn.listen("pause", IriSP.wrap(this, this.playButtonUpdater)); |
23 this._Popcorn.listen("pause", IriSP.wrap(this, this.playButtonUpdater)); |
24 |
24 |
25 this._Popcorn.listen("volumechange", IriSP.wrap(this, this.muteButtonUpdater)); |
25 this._Popcorn.listen("volumechange", IriSP.wrap(this, this.muteButtonUpdater)); |
26 |
26 |
27 this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.timeDisplayUpdater)); |
27 this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.timeDisplayUpdater)); |
|
28 // update the time display for the first time. |
|
29 this._Popcorn.listen("loadedmetadata", IriSP.wrap(this, this.timeDisplayUpdater)); |
|
30 |
28 this._Popcorn.listen("IriSP.search.matchFound", IriSP.wrap(this, this.searchMatch)); |
31 this._Popcorn.listen("IriSP.search.matchFound", IriSP.wrap(this, this.searchMatch)); |
29 this._Popcorn.listen("IriSP.search.noMatchFound", IriSP.wrap(this, this.searchNoMatch)); |
32 this._Popcorn.listen("IriSP.search.noMatchFound", IriSP.wrap(this, this.searchNoMatch)); |
30 |
33 |
31 |
34 |
32 this.selector.find(".Ldt-CtrlPlay").click(function() { self.playHandler.call(self); }); |
35 this.selector.find(".Ldt-CtrlPlay").click(function() { self.playHandler.call(self); }); |