       video = new Video(stage.stageWidth, stage.stageHeight);
       addChild(video);
 
-      //posterContainer.visible = false;
-
       stream = new NetStream(connection);
       stream.soundTransform = new SoundTransform(muted ? 0 : 1);
       stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
       video.attachNetStream(stream);
 
       stream.play(videoUrl);
-      if (!autoPlay) pause();
+      if (!autoplay) pause();
     }
 
   }


      posterUrl = loaderInfo.parameters.poster;
      videoUrl = loaderInfo.parameters.video;
      muted = loaderInfo.parameters.muted == "true";
      autoPlay = loaderInfo.parameters.autoPlay == "true";

      setBackgroundColor();


      ExternalInterface.addCallback("unmute", unmute);
      ExternalInterface.addCallback("muted", isMuted);
      ExternalInterface.call("DivineVideoPlayer.ready");
    }

    private function setBackgroundColor(): void {
      graphics.beginFill(0x000000, 1);
      graphics.drawRect(0, 0, stage.stageWidth, stage.stageHeight);
      graphics.endFill();
    }

    private function loadPoster(): void {
