// Java Document
var conf = {
	clip: {
		autoPlay: true,
		autoRewind: true,
		autoBuffering: true,
		bufferLength: 4,
		fadeOutSpeed: 500,
		onBeforeFinish: function() { 
			this.play(0); // loop to the first clip
			return false; // return false so that the player will not do anything it normally does with this event
		} 
	},
	canvas: {
		backgroundColor:'#b41823'
	},
	controls: {
		all:false,
		autoHide: 'never',
		play:true,
		volume:true,
		mute:true,
		scrubber:true,
		fullscreen:false,
		
		tooltipColor: '#5F747C',
		timeColor: '#ec6a6a',
		tooltipTextColor: '#ffffff',
		sliderGradient: 'none',
		volumeSliderColor: '#000000',
		progressGradient: 'medium',
		bufferColor: '#a28181',
		buttonColor: '#5F747C',
		sliderColor: '#930b0b',
		bufferGradient: 'none',
		backgroundGradient: [0.6,0.3,0,0,0],
		buttonOverColor: '#728B94',
		durationColor: '#c8a3a3',
		borderRadius: '10',
		timeBgColor: '#555555',
		backgroundColor: '#3b1c1d',
		progressColor: '#e42525',
		volumeSliderGradient: 'none',
		height: 20,
		opacity: .5

	},
	play: { // all display properties, exept z-index can be modified in all versions 
		opacity: 0, 
		label: null, // label text, by default there is no text 
		replayLabel: 'Play again', // label text at the end of the video clip
		top: '45%',     // default position
		left: '50%',    // default position
		width: '12%',   // default size, specifying absolute value the size remains same in fullscreen 
		height: '12%',  // default size, specifying absolute value the size remains same in fullscreen 
		  
		/*	progress indicator, which shows up when video is being loaded.  
			this is always in the same place as play button. */
		fadeSpeed: 500,  // how fast progress indicator fades out after video is loaded 
		rotateSpeed: 50  // how fast buffering animation rotates 
	},

	// make screen take all available space 
	screen: { 
	  bottom: 0 
	} 
}

