src/js/widgets/playerWidget.js
branchpopcorn-port
changeset 820 7968346b9689
parent 802 c74de6ba5d11
child 830 18ca612e9ff0
--- a/src/js/widgets/playerWidget.js	Tue Feb 21 17:26:51 2012 +0100
+++ b/src/js/widgets/playerWidget.js	Wed Feb 29 18:13:14 2012 +0100
@@ -69,7 +69,7 @@
   }
   
   // we get it at each call because it may change.
-  var duration = +this._serializer.currentMedia().meta["dc:duration"] / 1000; 
+  var duration = this._serializer.getDuration() / 1000; 
   var totalTime = IriSP.secondsToTime(duration);
   var elapsedTime = IriSP.secondsToTime(this._Popcorn.currentTime());