

$f("player", "swf/flowplayer-3.1.1.swf",  {
	
	clip: {
		// track start event for this clip        
		onStart: function(clip) {            
			pageTracker._trackEvent("Videos", "Play", clip.url);        
		},

		onPlay: function(clip) {            
			pageTracker._trackEvent("Videos", "Play", clip.url);        
		},		

		// track pause event for this clip. time (in seconds) is also tracked       
		onPause: function(clip) {            
			pageTracker._trackEvent("Videos", "Pause", clip.url, parseInt(this.getTime()));        
		},                        
		
		// track finish event for this clip        
		onFinish: function(clip) {            
			pageTracker._trackEvent("Videos", "Finish", clip.url);        
		},

		onFullscreen: function(clip) {            
			pageTracker._trackEvent("Videos", "Fullscreen", clip.url);        
		},

		autoPlay: false,
		autoBuffering: true,
		onStart: function () { 
		  // reset opacity when clip is played again 
		  this.getPlugin("play").css({opacity: 1}); 
		}, 
		onFinish: function () { 
		  // do not show "Play again" 
		  this.getPlugin("play").css({opacity: 0}); 
		} 
	},
	
	// controlbar settings
	plugins:  {
	
		
		controls: {			
			 
			url: "swf/flowplayer.controls-3.1.1.swf", skin: "customskin",
			background: 'url(images/skin-player-bg.jpg) bottom no-repeat',
			bottom: 0, left: 0, height: 30, width: "100%", zIndex: 2,
			backgroundColor: "#e8f7fa", 
			backgroundGradient: "none", 
			border: "0px", borderRadius: "0px",
			timeColor: "#7ea6b2", 
			durationColor: "#7ea6b2", 
			sliderColor: "#c8dce1", 
			sliderGradient: "none", 
			volumeSliderColor: '#7ea6b2', 
			volumeSliderGradient: "none", 
			buttonColor: "#7ea6b2", 
			buttonOverColor: "#7ea6b2", 
			progressColor: "#7ea6b2", 
			progressGradient: "none", 
			bufferColor: "#7ea6b2", 
			bufferGradient: "none", 
			tooltipColor: "#C9C9C9", 
			tooltipTextColor: "#FFFFFF", 
			timeBorderRadius: 5, 
			timeBgColor: '#f9fdfe', 
			scrubberBorderRadius: 0, 
			volumeBorderRadius: 0, 
			scrubberHeightRatio: 0.5, 
			scrubberBarHeightRatio: 0.4, 
			volumeSliderHeightRatio: 0.4,
			playHeight: 0.1,
			volumeBarHeightRatio: 0.5, 
			timeBgHeightRatio: 0.6,

			tooltipColor: '#7ea6b2'

		},
		customskin: { url: "swf/buttons_default.swf", type: "classLibrary" }
	}
});
