diff -r 5cd368dba1b9 -r 972099304059 src/widgets/Controller.js --- a/src/widgets/Controller.js Wed Jun 20 18:41:41 2012 +0200 +++ b/src/widgets/Controller.js Tue Jun 26 14:22:29 2012 +0200 @@ -92,6 +92,7 @@ this.bindPopcorn("volumechange","volumeUpdater"); this.bindPopcorn("timeupdate","timeDisplayUpdater"); this.bindPopcorn("loadedmetadata","timeDisplayUpdater"); + this.bindPopcorn("loadedmetadata","volumeUpdater"); this.bindPopcorn("IriSP.search.matchFound","searchMatch"); this.bindPopcorn("IriSP.search.noMatchFound","searchNoMatch"); this.bindPopcorn("IriSP.search.triggeredSearch","triggeredSearch"); @@ -139,8 +140,10 @@ function() { _this.player.popcorn.trigger("IriSP.Player.MouseOut"); }); - setTimeout(this.functionWrapper("volumeUpdater"), 1000); /* some players - including jwplayer - save the state of the mute button between sessions */ + + window.setTimeout(this.functionWrapper("volumeUpdater"), 1000); + }; /* Update the elasped time div */