/** 
 * FICHERO CONFIGURACION FLOWPLAYER  
 */  

var logo = {
      gaztekutxa:{
        url: '/E2101/KEPGKWEB/img/gaztekutxa_video.gif', 
        fullscreenOnly: false, 
        zIndex:0, 
        top: '50%', 
        left: '50%' 
      }
 }
 
var efectos = {
		mouseover:
			function() { 
	        this.getPlugin("logo").fadeTo(0.5, 1000); 
	  }, 
		
		mouseout:
			function() { 
	        this.getPlugin("logo").fadeTo(0, 1000); 
	  }	  	
}

var barraReproductor = {
		// CONFIGURACION BARRA DE CONTROL
		gaztekutxa:{			
				controls: {
					height: 26,
					backgroundColor: 'transparent',
					backgroundGradient: 'none',
					autoHide: 'always',
					hideDelay: 2500,
					volume: false,
					mute: false,
					fullscreen: true,
					sliderColor: '#666666',
					volumeSliderColor: '#314DA5' ,
					bufferColor: '#333333',
					progressColor: '#314DA5',
					buttonColor: '#333333',
					buttonOverColor: '#314DA5',
					timeColor: '#ffffff',
					durationColor: '#000000',
					timeBgColor: '#CCDD00',
					tooltipColor: '#314DA5'
				}
		}
}			

var clip = {

		autoPlay: true, autoBuffering: true,

		// Tiempo Degradado inicial
		fadeInSpeed: 7000,

		// on last second, fade out screen
		onLastSecond: function() {
			this.getScreen().animate({opacity: 0}, 3000);
		},

		// if screen is hidden, show it upon startup
		onStart: function() {
			this.getScreen().css({opacity: 1});
		}

}

