$(function() {
	
	// setup player without "internal" playlists
	$f("player2", "flowplayer-3.1.1.swf", {

		clip: {
			baseUrl: 'http://kudos.shinegroup.tv'
			},

		plugins: { 

		    controls: { 

		        url: 'flowplayer.controls-3.1.1.swf', 

		        // display properties such as size, location and opacity 
		        bottom: 0,  
		        opacity: 0.4,  

		        // styling properties (will be applied to all plugins) 
		        background: 'none', 
		        backgroundGradient: 'none', 
				progressColor: '#ffffff',
				bufferColor: '#000000',
				buttonColor: '#000000',
				tooltipColor: '#000000',
				tooltipTextColor: '#ffffff',

		        // controlbar specific settings
				scrubberHeightRatio: 0.1,
				autoHide: 'always',
				hideDelay: 1600,
		        all: false,
		        play: true, 
		        scrubber: true, 
				mute: true,
				fullscreen: true,
     
		        // tooltips (since 3.1) 
		        tooltips: { 
		            buttons: true, 
		            fullscreen: 'Enter fullscreen mode' 
		        } 
		    }
		}		

	// use playlist plugin. again loop is true
	}).playlist("div.petrol", {loop:true});
	
});