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

      playbackId = LoaderInfo(this.root.loaderInfo).parameters.playbackId;
      playbackState = "IDLE";
      _video = new Video();
      setupNetConnection();
      setupStage();
      setupCallbacks();
      setTimeout(flashReady, 50);
    }

      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)) {
