   import flash.system.Security;
   import flash.text.TextField;
 
-  // TODO: Add external interface for play, pause, mute and unmute
   public class Player extends Sprite {
 
     private var posterUrl: String;
     private var videoUrl: String;
+    private var muted: Boolean;
+    private var autoPlay: Boolean;
+
+    private var videoPlaying: Boolean;
 
     private var poster: Loader;
     private var video: Video;

      addChild(posterContainer);

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

    }

    private function registerExternalMethods(): void {
      ExternalInterface.addCallback("play", play);
      ExternalInterface.addCallback("pause", pause);
      ExternalInterface.addCallback("paused", isPaused);
      ExternalInterface.addCallback("mute", mute);
      ExternalInterface.addCallback("unmute", unmute);
      ExternalInterface.addCallback("muted", isMuted);
      ExternalInterface.call("DivineVideoPlayer.ready");
    }

