// config
var config = {
	
	// player configuration
	player: {
		src: 'fileadmin/js/flowplayer/flowplayer-3.2.5.swf',
		wmode: 'opaque',
		onFail: function()  {
			$('#contentVideo').hide();
			$('#noFlash').show();
		}
	},
	
	// default clip configuration
	clip: {
		
		defaultClip: {
			baseUrl: '.'
		}
	},
	
	// skin configuration
	controlerSkins: {
		
		bigPlayer: {
			// location of the controlbar plugin
			url: 'flowplayer.controls-3.2.3.swf',
	
			// display properties such as size, location and opacity
			opacity: 0.8,
			height: 30,
			//autoHide: 'fullscreen',
	
			// styling properties
			background: '#000000',
			backgroundGradient: 'none',
			sliderColor: '#000000',
			timeColor: '#DC183A',
			durationColor: '#ffffff',
			buttonColor: '#cccccc',
			sliderBorder:'1px solid #DC183A',
			bufferColor: '#DC183A',
			progressColor: '#DC183A',
			progressGradient: 'medium',
			timeFontSize: 13,
			scrubberHeightRatio: 0.5,
			
			// controlbar specific settings
			timeColor: '#DC183A',
			all: false,
			play: true,
			scrubber: true,
			volume: true,
			mute: true,
			fullscreen: true,
			time: true,
	
			// tooltips
			tooltips: {
				buttons: false
			}
		}
	},
	backgroundScreen: {	
		bigPlayer: {
			width:680,
			height:370,
			top: 0
		}
	}
	
};
////////////////////////


// flowplayer call
$(function() {
	if($('#contentVideo').length > 0){
		flowplayer("contentVideo", config.player, {
			clip: config.clip.defaultClip, 
				plugins: {
					controls: config.controlerSkins.bigPlayer
				},
				key: '#@cf0cb49073d03f83918'
		});
	}
});
////////////////////////

