 			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")
+			if (_configProxy.vo.flashvars.autoPlay == "true")
 			{
 				trace ("bitrate detection: was auto play");
-				configProxy.vo.flashvars.autoPlay = "false";
+				_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());
					var configProxy:ConfigProxy = facade.retrieveProxy(ConfigProxy.NAME) as ConfigProxy;
					if ((viewComponent as bitrateDetectionPluginCode).useFlavorCookie)
					{
						var flavorCookie : SharedObject;

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