             _duration = 0;
             _bandwidth = -1;
             _url = null;
+            _state = HLSPlayStates.IDLE;
             _hls = null;
         }
 


        private static function on_manifest_loading(e:HLSEvent):void{
            _url = e.url;
        }

        private static function on_event(e:HLSEvent):void{

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

    public class HLSJS
    {
