﻿
$(function() {

//	$f("flowplayer", "../java/flowplayer/swf/flowplayer-3.1.5.swf", { 
	$f("flowplayer", "../java/flowplayer/swf/flowplayer-3.2.2.swf", { 	
	    clip: { 
//			url:'../music/anthem/Circassian_Anthem.flv',
//			url:'../music/abida_omar_album/02_Abida_Omar.MP3',
			url:'../music/Aslan_Tlebzu/Aslan_Tlebzu_Kafa.mp3',
	        autoPlay: false, 
//			autoBuffering: true, 				 
	        // optional: when playback starts close the first audio playback 
	        onBeforeBegin: function() { 
	            $f("player").close(); 
	        } 
	    },
	    
//		canvas: {backgroundColor: "transparent"},
		canvas: {
			backgroundColor: "#555555",
			backgroundGradient: 'none' 			  			
		},
		
	    // fullscreen button not needed here 
	    plugins: { 
	    
			controls: {
//				url: '../java/flowplayer/swf/flowplayer.controls-tube-3.1.5.swf',
//				url: '../java/flowplayer/swf/flowplayer.controls-tube-3.2.0.swf',				
				url: 'flowplayer.controls-3.2.1.swf',				
				autoHide: 'never',
	            all:false,             
				fullscreen: false,	            
	            scrubber:true,             
	            play:true, 
				       
				durationColor: '#ffffff',
				timeBgColor: '#262626',
				buttonColor: '#000000',
				sliderColor: '#C9C9C9',
				bufferGradient: 'none',
				bufferColor: '#C78F8E',
				sliderGradient: 'none',
				timeColor: '#B1E0FC',
				buttonOverColor: '#FF0000',
				volumeSliderColor: '#D00000',
				volumeSliderGradient: 'none',
				tooltipColor: '#C9C9C9',
				progressColor: '#D00000',
				progressGradient: 'none',
//				backgroundColor: '#747474',
//				backgroundGradient: 'high',
				backgroundColor: '#222222',
				backgroundGradient: 'low',
				borderRadius: '0',
				tooltipTextColor: '#D00000',
				height: 14,
				opacity: 1.0
			}	    
	    
/*	    
	        controls: { 
	            fullscreen: false, 
	            all:false,             
	            scrubber:true,             
	            play:true, 
	            time:true,                         
	            mute:true, 	
				playlist: false,
				progressGradient: 'none',			
				buttonOverColor: '#FF0000',
				backgroundGradient: [0.6,0.3,0,0,0],
				backgroundColor: '#222222',			
				bufferColor: '#C78F8E',
				bufferGradient: 'none',
				tooltipTextColor: '#D00000',
				tooltipColor: '#C9C9C9',
				volumeSliderGradient: 'none',
				progressColor: '#D00000',
				buttonColor: '#000000',
				borderRadius: '30',
				volumeSliderColor: '#D00000',
				sliderGradient: 'none',
				sliderColor: '#C9C9C9',				
				timeColor: '#B1E0FC',
				durationColor: '#ffffff',
				timeBgColor: '#262626',
				height: 34,
				opacity: 1.0
	        } 
*/	        
	    } 
	});
});





