 				var sequenceProxy:SequenceProxy = facade.retrieveProxy(SequenceProxy.NAME) as SequenceProxy;
 				if (_wasAutoPlay) 
 				{	
-					var configProxy:ConfigProxy = facade.retrieveProxy(ConfigProxy.NAME) as ConfigProxy;
-					configProxy.vo.flashvars.autoPlay = "true";	
+					_configProxy.vo.flashvars.autoPlay = "true";	
 				}
 				else 
 				{

			trace ("bitrate detection: start download");
			if (!(viewComponent as bitrateDetectionPluginCode).downloadUrl)
				return;
			
			var configProxy:ConfigProxy = facade.retrieveProxy(ConfigProxy.NAME) as ConfigProxy;
			var mediaProxy:MediaProxy = facade.retrieveProxy(MediaProxy.NAME) as MediaProxy;
			//disable autoPlay - will change it back once the bitrate detection will finish
			if (configProxy.vo.flashvars.autoPlay == "true")
			{
				trace ("bitrate detection: was auto play");
				configProxy.vo.flashvars.autoPlay = "false";
				_wasAutoPlay = true;
			}
			if (mediaProxy.vo.singleAutoPlay) 

						((mediaProxy.vo.entry is KalturaMediaEntry) && (int(mediaProxy.vo.entry.mediaType)==KalturaMediaType.IMAGE)))
						break;
					trace("bitrate detection:", notification.getName());
					_configProxy = facade.retrieveProxy(ConfigProxy.NAME) as ConfigProxy;
					if ((viewComponent as bitrateDetectionPluginCode).useFlavorCookie)
					{
						var flavorCookie : SharedObject;
