// Funcion que completa de cargar el player
function completePlayer(){
	// Control 

	return true;
}				
function playerLucybell(videoURL){
	// Cargo el player basico
	flowplayer('playerLucybell', {src: 'http://videos.chilevision.cl/players/flowplayer.commercial-3.1.5.swf', cachebusting: jQuery.browser.msie},
{
		key: '#$2c6929c7c6e35634270',
		onLoad: completePlayer,
		playlist: [ 
	 
			// Senal Online
			{
				url: 'concierto', 
				live: true, 
				provider: 'edgecast',
				linkUrl: '',  
				bufferLength: '1', 
				onBeforePause: function() { return false; } 
			}       
		], 
		// Boton play oculto
		play: { 
			opacity: 1, 
			label: 'Conectando', 
			replayLabel: null
		},
		plugins: {
			edgecast: { 
				url: 'flowplayer.rtmp-3.1.3.swf', 
				netConnectionUrl: 'rtmp://fml.0116.edgecastcdn.net/200116/lucybell',
				subscribe: true
			},
			// Controles
			controls: {
				backgroundGradient: 'medium',
				borderRadius: '0',
				buttonColor: '#000000',
				volumeSliderColor: '#000000',
				buttonOverColor: '#f0000b',
				backgroundColor: '#333333',
				tooltipColor: '#5F747C',
				durationColor: '#ffffff',
				volumeSliderGradient: 'none',
				tooltipTextColor: '#ffffff',
				opacity: 1.0,
				left: 0,
				width: '90%',
				all: false,
				volume: true,
				mute: true,
				zIndex: 3
			},
			// time display positioned into upper right corner 
			screencontrol: { 
				url: 'flowplayer.controls-3.1.5.swf', 
				backgroundGradient: 'medium',
				buttonColor: '#000000',
				buttonOverColor: '#f0000b',
				backgroundColor: '#333333',
				bottom:0,
				opacity: 1.0,
				all: false,
				fullscreen: true,  
				right:0,
				width: '10%',
				zIndex: 4
			}			
		}
	});
}
