$(document).ready(function(){
	$(".intro_video").flowplayer("flash/flowplayer-3.1.1.swf", { 
//	$(".vid_<?php echo $v?>").flowplayer("flash/flowplayer-3.1.1.swf", { 	
		canvas:  { 
			// configure background properties 
//			background: '#000000 url(video/splash/splash_xtvs.jpg) no-repeat',
			backgroundColor: '#000000'			
			// remove default canvas gradient 
//			backgroundGradient: 'none'
			// setup a light-blue border 
//			border:'2px solid #778899' 
		},
		play: { 
			/* 
				relative path to the play button, this can be a JPG, PNG or SWF file. 
				NOTE: the button can only be changed in the commercial versions 
			*/ 
//			url: 'play.swf', 		 
			// all display properties, except the z-index, can be modified in all versions 
//			opacity: 1, 
			opacity: 0, // *********************HIDE*********************!!		 
			// label text; by default there is no text 
			label: null, 
			// label text at end of video clip 
			replayLabel: 'Play Again', 
			/* 
				progress indicator - this is shown while video is being loaded. 
				it is always in the same place as the play button. 
			*/ 
			// how fast progress indicator fades out after video is loaded 
			fadeSpeed: 500, 
			// how fast buffering animation rotates 
			rotateSpeed: 50
		},
		plugins: {
			controls:null
/*		   controls: {
			  autoHide: true,
			  progressColor: '#112233',
			  volumeSliderColor: '#000000',
			  bufferColor: '#445566',
			  borderRadius: '0px',
			  backgroundGradient: [0.6,0.3,0,0,0],
			  timeColor: '#B7131A', // MODIFICATI
			  timeBgColor: '#000000', // MODIFICATI
			  backgroundColor: '#222222',
			  tooltipTextColor: '#ffffff',
			  buttonOverColor: '#728B94',
			  sliderColor: '#000000',
			  tooltipColor: '#5F747C',
			  progressGradient: 'medium',
			  durationColor: '#ffffff',
			  sliderGradient: 'none',
			  buttonColor: '#5F747C',
			  volumeSliderGradient: 'none',
			  bufferGradient: 'none',
			  height: 24,
//			  height: 0,
			  opacity: 1.0
//			  opacity: 
		   }*/
		},
		clip: { 
//			url: "public/<?php echo $alleg_url?>",
//			autoBuffering: true,
			onBeforeFinish: function() { return false; },
			autoPlay: true,
			bufferLength: 2
//			scaling: 'fit'
		} 
	}); 
//	$(this).delay(2000,function(){
//		$f().play();
//	});
});
