// different available skins 
var skins = {         
	conocer:  { 
		url: 'flowplayer.controls-tube-3.1.3.swf',
		tooltipTextColor: '#000000',
		bufferColor: '#ffc1c1',
		volumeSliderColor: '#ff3333',
		progressColor: '#ff3333',
		backgroundGradient: 'medium',			
		timeBgColor: '#171717',
		bufferGradient: 'none',
		durationColor: '#ffffff',
		sliderColor: '#171717',
		buttonColor: '#000000',
		timeColor: '#ff3333',
		volumeSliderGradient: 'none',
		backgroundColor: '#000000',
		progressGradient: 'none',
		buttonOverColor: '#cccccc',
		tooltipColor: '#333333',
		sliderGradient: 'none',
		borderRadius: '0',
		height: 25,
		opacity: 1.0
	}
}

var conf = { 
    
	// different available clips configuration
    clips: {
		
		// home clip configuration
		inicio: { 
			autoBuffering: false,
			autoPlay: true,
			scaling: 'fit',
			provider: 'rtmp',
            onBeforeBegin:function(clip){
				if(clip.url.substr(String(clip.url).length-8,String(clip.url).length)=='exit.swf') {
					$f().getPlugin("play").hide();
				}
			}
		},
		obra: { 
			autoBuffering: false,
			autoPlay: false,
			scaling: 'fit',
			onBeforeBegin:function(clip){this.setVolume(70);},
			provider: 'rtmp'
		},
		generico: { 
			autoBuffering: false,
			autoPlay: false,
			onBeforeBegin:function(clip){this.setVolume(70);},
			scaling: 'fit'
		},
		compartir: { 
			autoBuffering: false,
			autoPlay: true,
			scaling: 'fit',
			onBeforeBegin:function(clip){this.setVolume(70);},
			provider: 'rtmp'
		},
		opinion: { 
			autoBuffering: false,
			autoPlay: true,
			scaling: 'fit',
			onBeforeBegin:function(clip){this.setVolume(70);},
			provider: 'rtmp'
		}
	},
	
	// different available canvases
	canvases: {
		conocer: {
			backgroundGradient: 'none',
			backgroundColor: '#171717',
			border:'2px solid #333333'
		}	
	},
	
	players: {
		conocer: {
			opacity: 0.8,
			label: null,
			replayLabel: null,
			width: 100, 
        	height: 100
		}	
	},
	
	// different available plugins configuration
	plugins: {
		
		// home clip plugins
		inicio: {
			rtmp: {   
				// use latest RTMP plugin release 
				url: 'flowplayer.rtmp-3.1.2.swf',             
								 
				// netConnectionUrl defines where the streams are found  
				netConnectionUrl: 'rtmp://85.17.174.179/conoceralautor/'   
			},
			controls: skins.conocer
		}
	}
}

