             }
             stage.removeEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, _onStageVideoState);
             // addChild(new TheMiner());
+
+            var autoLoadUrl : String = root.loaderInfo.parameters.url as String;
+            if (autoLoadUrl != null) {
+                _autoLoad = true;
+                _load(autoLoadUrl);
+            }
         };
 
         private function _onStageResize(event : Event) : void {


        private function _manifestHandler(event : HLSEvent) : void {
            _duration = event.levels[0].duration;
            if (ExternalInterface.available) {
                ExternalInterface.call("onManifest", event.levels[0].duration);
            }

        /** current media position */
        private var _media_position : Number;
        private var _duration : Number;
	/** URL autoload feature */
	private var _autoLoad : Boolean = false;

        /** Initialization. **/
        public function ChromelessPlayer() {
