(function($) {
    $(function() {
        $('.splash').each(function() {
			config = {
				usePlayOverlay:true,
				clip: {
		            scaling: "fit",
		            autoBuffering: false,
		            autoPlay: true,
		            },
		
	            plugins:  {
					audio: {
						url: "%2B%2Bresource%2B%2Bcollective.flowplayer/flowplayer.audio.swf",
					},						
					controls:  {
						url: "%2B%2Bresource%2B%2Bcollective.flowplayer/flowplayer.controls.swf",
						volume:true,
						backgroundGradient: 'none',
						backgroundColor: 'transparent',
						all:false,
						scrubber:true,
						play: true,
						mute: true,
						time:true
					}	
				},

				canvas: {
					backgroundColor:'transparent',
					backgroundGradient: 'none'
				},
							
			}
			flowplayer(this, {src: "++resource++collective.flowplayer/flowplayer.swf", 
							  wmode: 'transparent'}, config).onLoad( function() { this.setVolume(50); });
        });

    });
})(jQuery);



