var $videoPlayerHost = 'http://www.nationaltv.ro/';

var $videoPlayer = {
	
	Flash		: {
		src		: $videoPlayerHost + 'js/player/flowplayer.commercial-3.2.2.swf',
		wmode	: 'transparent'
	},
	
	Playlist	: {
		playingClass	: 'video-playing',
		pausedClass		: 'video-paused',
		progressClass	: 'video-loading',
		loop			: false,
		playOnClick		: true,
		scaling			: 'orig'
	},
	
	Config		: {
		
		key			: '#@106304ae67fa01bb25e',
		
		clip		: {
			//autoPlay	: false,
			//autoBuffering : true,
			
			scaling		: 'fit',
			onFinish	: function() {
				if ( this.isFullscreen() ) {
					this.toggleFullscreen();
				}
			}
		},
		
		onFullscreen	: function() {
			var $C = this.getControls();
			$C.css({ 
				height				: 28,
				scrubberHeightRatio	: 0.6
			});
		},
		
		onFullscreenExit: function() {
			var $C = this.getControls();
			$C.css({ 
				height				: 24, 
				scrubberHeightRatio	: 0.5
			});
		},
		
		plugins		: {
			controls	: {
				
				url			: $videoPlayerHost + 'js/player/flowplayer.controls-3.2.1.swf',
				
				left		: 0,
				bottom		: 0,
				height		: 24,
				opacity		: 1,
				
				scrubberBarHeightRatio	: 0.4,
				scrubberHeightRatio		: 0.5,
				volumeBarHeightRatio	: 0.4,
				volumeSliderHeightRatio	: 0.5,
				
				
				
				backgroundColor		: '#000000',
				backgroundGradient	: 'none',
				borderRadius		: '0px',
				
				tooltipColor		: '#A31602',
				tooltipTextColor	: '#ffffff',
				tooltips			:  {
					buttons	: true,
					play	: 'Play',
					pause	: 'Pauza',
					mute	: 'Sunet pornit',
					unmute	: 'Sunet oprit',
					fullscreen		: 'Activare ecran complet',
					fullscreenExit	: 'Inchidere ecran complet',
					marginBottom	: 5
				},
				
				volumeSliderColor	: '#ffffff',
				volumeSliderGradient: 'none',
				volumeColor			: '#A31602',
				volumeBorder		: 'none',
				
				autoHide			: {
					fullscreenOnly	: true,
					hideDelay		: 2000,
					mouseOutDelay	: 0
				},
				
				sliderColor			: '#000000',
				sliderGradient		: 'none',
				sliderBorder		: 'none',
				
				progressColor		: '#A31602',
				progressGradient	: 'none',
				
				bufferColor			: '#ffffff',
				bufferGradient		: 'none',
				
				
				timeSeparator		: ' / ',
				timeFontSize		: 11,
				timeColor			: '#ffffff',
				timeBorder			: 'none',
				timeBgColor			: 'rgb(0, 0, 0, 0)',
				durationColor		: '#ff0000',
				
				
				buttonOverColor		: '#cc0000',
				buttonColor			: '#ffffff'
				
			},
			
			viral		: {
				url		: $videoPlayerHost + 'js/player/flowplayer.viralvideos-3.2.1.swf',
				share	: {
					description	: '' 
				},
				email	: false,
				embed	: false
			},
			
			gatracker	: {
				url			: $videoPlayerHost + 'js/player/flowplayer.analytics-3.2.0.swf',
				//trackingMode: 'Bridge',
				//bridgeObject: '_tracker',
				trackingMode: 'AS3',
				googleId	: 'UA-8206645-10',
				
				labels		: {
					play	: false,
					start	: 'Vizualizare video: ',
					pause	: false,
					resume	: false,
					seek	: false,
					stop	: false,
					finish	: false,
					mute	: false,
					unmute	: false,
					fullscreen		: false,
					fullscreenexit	: false
				},
				debug	: false
			}
			
		},
		
		canvas:  {
			background			: '#000000',
			backgroundGradient	: 'none',
			border				: 'none'
		}
		
	}
}
