       return mediaPlayer.duration;
     }
 
+    private function onTimeUpdated(event:TimeEvent):void {
+      _triggerEvent('progress');
+      _triggerEvent('timeupdate');
+    }
+
     private function _triggerEvent(name: String):void {
       ExternalInterface.call('Clappr.Mediator.trigger("' + playbackId + ':' + name +'")');
     }
-
-    private function getState():String {
-      return playbackState;
-    }
   }
 }

      mediaPlayer.stop();
    }

    private function onTimeUpdated(event:TimeEvent):void {
      _triggerEvent('progress');
      _triggerEvent('timeupdate');
    }

    private function getPosition():Number {

      mediaContainer = new MediaContainer();
      setupCallbacks();
      setupGetters();
      ExternalInterface.call('console.log', 'clappr rtmp 0.6-alpha');
      _triggerEvent('flashready');
    }

