 	{
 		private var _pluginInfo:HLSPluginInfo;
         private static const HLS_PLUGIN_INFO:String = "com.kaltura.hls.HLSPluginInfo";
+		private var _pluginResource:MediaResourceBase;
 
         
         public function KalturaHLSPlugin()

         */		
        protected function onOSMFPluginLoaded (e : MediaFactoryEvent) : void
        {
            e.target.removeEventListener(MediaFactoryEvent.PLUGIN_LOAD, onOSMFPluginLoaded);
            dispatchEvent( new KPluginEvent (KPluginEvent.KPLUGIN_INIT_COMPLETE) );
        }
        /**
         * Listener for the LOAD_ERROR event.

        {
            //Getting Static reference to Plugin.
            var pluginInfoRef:Class = getDefinitionByName(HLS_PLUGIN_INFO) as Class;
			_pluginResource = new PluginInfoResource(new pluginInfoRef);
            
            var mediaFactory:MediaFactory = (facade.retrieveProxy(MediaProxy.NAME) as MediaProxy).vo.mediaFactory;
            mediaFactory.addEventListener(MediaFactoryEvent.PLUGIN_LOAD, onOSMFPluginLoaded);
            mediaFactory.addEventListener(MediaFactoryEvent.PLUGIN_LOAD_ERROR, onOSMFPluginLoadError);
            mediaFactory.loadPlugin(_pluginResource);		
        }
        
        /**
