 
     private function connectStream(): void {
       video = new Video(stage.stageWidth, stage.stageHeight);
-      addChild(video);
+      addChildAt(video, 1);
 
       stream = new NetStream(connection);
       stream.soundTransform = new SoundTransform(muted ? 0 : 1);

      loop = loaderInfo.parameters.loop == "true";
      muted = loaderInfo.parameters.muted == "true";
      autoplay = loaderInfo.parameters.autoplay == "true";

      setBackgroundColor();

      if (posterUrl) {
        loadPoster();

      ExternalInterface.addCallback("mute", mute);
      ExternalInterface.addCallback("unmute", unmute);
      ExternalInterface.addCallback("muted", isMuted);
    }

    private function loadPoster(): void {
      posterContainer = new Sprite();
      posterContainer.width = stage.stageWidth;
      posterContainer.height = stage.stageHeight;
      addChildAt(posterContainer, 0);

      poster = new Loader();
      poster.contentLoaderInfo.addEventListener(Event.COMPLETE, function(): void {
        posterContainer.addChild(poster);
      });
