equal
deleted
inserted
replaced
90 this.bindPopcorn("play","playButtonUpdater"); |
90 this.bindPopcorn("play","playButtonUpdater"); |
91 this.bindPopcorn("pause","playButtonUpdater"); |
91 this.bindPopcorn("pause","playButtonUpdater"); |
92 this.bindPopcorn("volumechange","volumeUpdater"); |
92 this.bindPopcorn("volumechange","volumeUpdater"); |
93 this.bindPopcorn("timeupdate","timeDisplayUpdater"); |
93 this.bindPopcorn("timeupdate","timeDisplayUpdater"); |
94 this.bindPopcorn("loadedmetadata","timeDisplayUpdater"); |
94 this.bindPopcorn("loadedmetadata","timeDisplayUpdater"); |
|
95 this.bindPopcorn("loadedmetadata","volumeUpdater"); |
95 this.bindPopcorn("IriSP.search.matchFound","searchMatch"); |
96 this.bindPopcorn("IriSP.search.matchFound","searchMatch"); |
96 this.bindPopcorn("IriSP.search.noMatchFound","searchNoMatch"); |
97 this.bindPopcorn("IriSP.search.noMatchFound","searchNoMatch"); |
97 this.bindPopcorn("IriSP.search.triggeredSearch","triggeredSearch"); |
98 this.bindPopcorn("IriSP.search.triggeredSearch","triggeredSearch"); |
98 |
99 |
99 // handle clicks |
100 // handle clicks |
137 _this.player.popcorn.trigger("IriSP.Player.MouseOver"); |
138 _this.player.popcorn.trigger("IriSP.Player.MouseOver"); |
138 }, |
139 }, |
139 function() { |
140 function() { |
140 _this.player.popcorn.trigger("IriSP.Player.MouseOut"); |
141 _this.player.popcorn.trigger("IriSP.Player.MouseOut"); |
141 }); |
142 }); |
142 setTimeout(this.functionWrapper("volumeUpdater"), 1000); |
|
143 /* some players - including jwplayer - save the state of the mute button between sessions */ |
143 /* some players - including jwplayer - save the state of the mute button between sessions */ |
|
144 |
|
145 window.setTimeout(this.functionWrapper("volumeUpdater"), 1000); |
|
146 |
144 }; |
147 }; |
145 |
148 |
146 /* Update the elasped time div */ |
149 /* Update the elasped time div */ |
147 IriSP.Widgets.Controller.prototype.timeDisplayUpdater = function() { |
150 IriSP.Widgets.Controller.prototype.timeDisplayUpdater = function() { |
148 var _curTime = this.player.popcorn.roundTime(); |
151 var _curTime = this.player.popcorn.roundTime(); |