flowplayer("a.video", "plugins/flowplayer/flowplayer.swf", {

	plugins: {
		controls: {
			sliderColor: '#CCCCCC',
			volumeSliderColor: '#FFFFFF',
			tooltipColor: '#555555',
			tooltipTextColor: '#FFFFFF',
			backgroundColor: 'transparent',
			bufferColor: '#FFFFFF',
			volumeBorder: 'none',
			sliderBorder: 'none',
			buttonOverColor: '#FFFFFF',
			volumeColor: '#999999',
			timeSeparator: ' ',
			progressColor: '#999999',
			backgroundGradient: 'none',
			timeColor: '#999999',
			durationColor: '#FFFFFF',
			progressGradient: 'none',
			height: 24
		}
	},

	clip: {
		autoPlay: false,
		autoBuffering: true,
		scaling:'fit',

		// optional: when playback starts close the first audio playback
		onBeforeBegin: function () {
			// iterate over all players and stop them
			flowplayer("*").each(function () {
				this.stop();
			});
		}

	}

});
// install flowplayer into container
flowplayer("a.audio", "plugins/flowplayer/flowplayer.swf", {

	// fullscreen button not needed here
	plugins: {
		controls: {
			fullscreen: false,
			height: 27,
			autoHide: false,
			
			sliderColor: '#CCCCCC',
			volumeSliderColor: '#FFFFFF',
			tooltipColor: '#555555',
			tooltipTextColor: '#FFFFFF',
			backgroundColor: '#555555',
			bufferColor: '#FFFFFF',
			volumeBorder: 'none',
			sliderBorder: 'none',
			buttonOverColor: '#FFFFFF',
			volumeColor: '#999999',
			timeSeparator: ' ',
			progressColor: '#999999',
			backgroundGradient: 'none',
			timeColor: '#999999',
			durationColor: '#FFFFFF',
			progressGradient: 'none',
			height: 24
		}
	},

	clip: {
		autoPlay: false,

		// optional: when playback starts close the first audio playback
		onBeforeBegin: function () {
			// iterate over all players and stop them
			flowplayer("*").each(function () {
				this.stop();
			});
		}
	}

});
