       return _ns.bytesLoaded;
     }
     private function netStatusHandler(event:NetStatusEvent):void {
+      ExternalInterface.call("console.log", event.info.code);
       if (event.info.code === "NetStream.Buffer.Full") {
         playbackState = "PLAYING";
       } else if (isBuffering(event.info.code)) {

    }
    private function onConnectionStatus(e:NetStatusEvent):void {
        if (e.info.code == "NetConnection.Connect.Success"){
            ExternalInterface.call('console.log', 'rolou');
            setupNetStream();
        }
    }

      _triggerEvent('timeupdate');
    }
    private function playerPlay(url:String):void {
      setupNetConnection();
      setupStage();
      _ns.play(url);
      heartbeat.addEventListener( TimerEvent.TIMER, onHeartbeat );
      heartbeat.start();
