         private var _hlsURLStream : Class;
         private var _client : Object = {};
         private var _stage : Stage;
-	private var _url:String;
-	public static var hola_api_inited:Boolean;
-	public static var g_curr_id:Number = 0;
-	public static var g_curr_hls:HLS;
-
-	private static function hola_version() : Object
-	{
-	    return {
-		flashls_version: '0.3.5',
-		patch_version: '1.0.5'
-	    };
-	}
-	private static function hola_hls_get_video_url() : String {
-	    return g_curr_hls._url;
-	}
-	
-	private static function hola_hls_get_position() : Number {
-	    return g_curr_hls.position;
-	}
-
-	private static function hola_hls_get_duration() : Number {
-	    return g_curr_hls.duration;
-	}
-	
-	private static function hola_hls_get_buffer_sec() : Number {
-	    return g_curr_hls.bufferLength;
-	}
-
-	private static function hola_hls_call(method:String, args:Array):Object{
-	    return g_curr_hls[method].apply(g_curr_hls, args);
-	}
-
-	private static function hola_hls_get_state() : String {
-	    return g_curr_hls.playbackState;
-	}
-	
-	private static function hola_hls_get_levels() : Object {
-	    return g_curr_hls.levels
-	}
-
-	private static function hola_hls_get_level() : Number {
-	    return g_curr_hls.level
-	}
+        private var _url:String;
+        public static var hola_api_inited:Boolean;
+        public static var g_curr_id:Number = 0;
+        public static var g_curr_hls:HLS;
+
+        private static function hola_version() : Object
+        {
+            return {
+                flashls_version: '0.3.5',
+                patch_version: '1.0.5'
+            };
+        }
+        private static function hola_hls_get_video_url() : String {
+            return g_curr_hls._url;
+        }
+
+        private static function hola_hls_get_position() : Number {
+            return g_curr_hls.position;
+        }
+
+        private static function hola_hls_get_duration() : Number {
+            return g_curr_hls.duration;
+        }
+
+        private static function hola_hls_get_buffer_sec() : Number {
+            return g_curr_hls.bufferLength;
+        }
+
+        private static function hola_hls_call(method:String, args:Array):Object{
+            return g_curr_hls[method].apply(g_curr_hls, args);
+        }
+
+        private static function hola_hls_get_state() : String {
+            return g_curr_hls.playbackState;
+        }
+
+        private static function hola_hls_get_levels() : Object {
+            return g_curr_hls.levels
+        }
+
+        private static function hola_hls_get_level() : Number {
+            return g_curr_hls.level
+        }
 
         /** Create and connect all components. **/
         public function HLS() {
-	    if (!hola_api_inited && ExternalInterface.available)
-	    {
-	        ExternalInterface.call('console.log', 'HLS hola_api_inited');
-		hola_api_inited = true;
-		ExternalInterface.addCallback("hola_hls_call", HLS.hola_hls_call);
-		ExternalInterface.addCallback("hola_version", HLS.hola_version);
-		ExternalInterface.addCallback("hola_hls_get_video_url", HLS.hola_hls_get_video_url);
-		ExternalInterface.addCallback("hola_hls_get_position", HLS.hola_hls_get_position);
-		ExternalInterface.addCallback("hola_hls_get_duration", HLS.hola_hls_get_duration);
-		ExternalInterface.addCallback("hola_hls_get_buffer_sec", HLS.hola_hls_get_buffer_sec);
-		ExternalInterface.addCallback("hola_hls_get_state", HLS.hola_hls_get_state);
-		ExternalInterface.addCallback("hola_hls_get_levels", HLS.hola_hls_get_levels);
-		ExternalInterface.addCallback("hola_hls_get_level", HLS.hola_hls_get_level);
-	    }
-	    g_curr_id++;
-	    g_curr_hls = this;
-	    if (ExternalInterface.available)
-	    {
-		    ExternalInterface.call('console.log', 'HLS new ', g_curr_id);
-		    ExternalInterface.call('window.postMessage',
-			{id: 'flashls.hlsNew', hls_id: g_curr_id}, '*');
-	    }
+            if (!hola_api_inited && ExternalInterface.available)
+            {
+                ExternalInterface.call('console.log', 'HLS hola_api_inited');
+                hola_api_inited = true;
+                ExternalInterface.addCallback("hola_hls_call", HLS.hola_hls_call);
+                ExternalInterface.addCallback("hola_version", HLS.hola_version);
+                ExternalInterface.addCallback("hola_hls_get_video_url", HLS.hola_hls_get_video_url);
+                ExternalInterface.addCallback("hola_hls_get_position", HLS.hola_hls_get_position);
+                ExternalInterface.addCallback("hola_hls_get_duration", HLS.hola_hls_get_duration);
+                ExternalInterface.addCallback("hola_hls_get_buffer_sec", HLS.hola_hls_get_buffer_sec);
+                ExternalInterface.addCallback("hola_hls_get_state", HLS.hola_hls_get_state);
+                ExternalInterface.addCallback("hola_hls_get_levels", HLS.hola_hls_get_levels);
+                ExternalInterface.addCallback("hola_hls_get_level", HLS.hola_hls_get_level);
+            }
+            g_curr_id++;
+            g_curr_hls = this;
+            if (ExternalInterface.available)
+            {
+                ExternalInterface.call('console.log', 'HLS new ', g_curr_id);
+                ExternalInterface.call('window.postMessage',
+                    {id: 'flashls.hlsNew', hls_id: g_curr_id}, '*');
+            }
             var connection : NetConnection = new NetConnection();
             connection.connect(null);
             _manifestLoader = new ManifestLoader(this);

        /** Load and parse a new HLS URL **/
        public function load(url : String) : void {
            _hlsNetStream.close();
	    _url = url;
            _manifestLoader.load(url);
        };


        public function get position() : Number {
            return _hlsNetStream.position;
        };

        public function get video_url() : String {
            return _url;
        };

        public function get duration() : Number {
            return _hlsNetStream.duration;
        };

