src/js/widgets/playerWidget.js
branchpopcorn-port
changeset 842 4ae2247a59f4
parent 839 4357aac4eb19
child 870 2c025db10a10
--- a/src/js/widgets/playerWidget.js	Tue Apr 03 20:30:12 2012 +0200
+++ b/src/js/widgets/playerWidget.js	Fri Apr 06 16:49:32 2012 +0200
@@ -127,7 +127,7 @@
   }
   
   // we get it at each call because it may change.
-  var duration = this._serializer.getDuration() / 1000; 
+  var duration = this.getDuration() / 1000; 
   var totalTime = IriSP.secondsToTime(duration);
   var elapsedTime = IriSP.secondsToTime(this._Popcorn.currentTime());