 
         private static function on_manifest_loading(e:HLSEvent):void{
             _url = e.url;
+            _state = "LOADING";
+            on_event(new HLSEvent(HLSEvent.PLAYBACK_STATE, _state));
+        }
+
+        private static function on_playback_state(e:HLSEvent):void{
+            _state = e.state;
         }
 
         private static function on_event(e:HLSEvent):void{

        private static var _duration:Number;
        private static var _bandwidth:Number = -1;
        private static var _url:String;
        private static var _hls:HLS;

        public static function init():void{

    import org.hola.JSAPI;
    import org.hola.HSettings;
    import org.mangui.hls.event.HLSEvent;
    import org.mangui.hls.constant.HLSPlayStates;

    public class HLSJS
    {
