     public function pause():void {
       client.pause();
       this.callAPI('streamPaused');
-      this.currentState = "Paused";
+      this.currentState = "paused";
     }
 
     public function resume():void {

    private var urlParsed:Object;
    private var savedSpeakerVolume:Number;
    private var fullscreenAllowed:Boolean = true;
    private var currentState:String = "Stopped";
    private var streamHasAudio:Boolean = false;
    private var streamHasVideo:Boolean = false;


    }

    private function onStartPlay(ev:ClientEvent):void {
      this.currentState = "playing";
    }

    public function onPlayStatus(ev:Object):void {
      this.currentState = "stopped";
    }

    private function callAPI(eventName:String, data:Object = null):void {
