
flowplayer("player", "/swf/flowplayer/flowplayer-3.1.0.swf", {
		
	clip: {
		
		
		//scaling: 'fit', 
		autoPlay: true,
		autoBuffering: true,
		
		url: '/thermavideo/thermalift_home.f4v',

		title: 'Thermalift',

		details: {       
			date: '22/06/2009',
			creator: 'Thermalift',
			subject: ['health', 'thermage']
			} ,
		
		
		
		onBeforeFinish: function() {
			
			// loop to the first clip
			this.stop(0);
			
			// return false so that the player will not do anything it
			// normally does with this event
			return false;
			}	
		},

	play: null,
		
	canvas: {
		backgroundGradient: 'none',
		backgroundColor: '#000000'
		//backgroundImage:'/img/bgrete.gif'
		//border:'2px solid #778899' 
	},

	screen: {
		backgroundGradient: 'none',
		backgroundColor: '#000000',
		opacity: 1.0

		//backgroundImage:'/img/bgrete.gif'
	},

	plugins: {
		controls: {
			url: '/SWF/flowplayer/plugins/flowplayer.controls-3.1.0.swf',
			

			// display properties
			bottom:4,
			//right:5,
			left:0,
			width:258,
			height:20,
			
			volumeSliderColor: '#2d2357',
			bufferGradient: 'none',
			buttonOverColor: '#b7a1ca',
			progressColor: '#b7a1ca',
			bufferColor: '#2d2357',
			progressGradient: 'none',
			buttonColor: '#2d2357',
			sliderGradient: 'none',
			backgroundColor: 'transparent',
			backgroundGradient: 'none',
			borderRadius: '0',
			tooltipTextColor: '#ffffff',
			volumeSliderGradient: 'none',
			timeBgColor: '#2d2357',
			timeColor: '#b7a1ca',
			tooltipColor: '#000000',
			durationColor: '#ffffff',
			sliderColor: '#000000',
			
			opacity: 1.0,
			
			// controlbar-specific configuration
			fontColor:'#ffffff',
			timeFontColor:'#333333',
			autoHide:'always',
			hideDelay: 3000,
			
			// which buttons are visible and which are not?
			play:true,
			volume:true,
			mute:true,
			time:false,
			stop:true, 
			playlist:false,
			fullscreen:true,
			
			// scrubber is a well-known nickname for the timeline/playhead combination
			scrubber: true,

			tooltips: {
					
				buttons: false,

				pause: 'Interrompi Streaming',
				play: 'Riprendi Streaming',
				fullscreen:'Schermo intero',
				fullscreenExit:'Esci dalla modalità Schermo intero'
					 
			}

		}
	}

});

