$(function() {
	// setup scrolling for the playlist elements
	$("#pl").scrollable({ circular: true, mousewheel: true });
	
	// setup player 
	$f("player", "http://tveskilstuna.se/TEST/inc/flowplayer-3.2.5.swf", {
	
		clip: {baseUrl: 'http://tveskilstuna.se/TEST/media'},
		screen:	{
		bottom: 0	// make the video take all the height
	},

	// change the default controlbar to modern
	plugins: {
		controls: {
			height: 30,
			url: 'http://tveskilstuna.se/TEST/inc/flowplayer.controls-3.2.3.swf',
			
			// transparent
			// backgroundColor: "transparent",
			// backgroundGradient: "none",
			// sliderColor: '#FFFFFF',
			// sliderBorder: '1.5px solid rgba(160,160,160,0.7)',
			// volumeSliderColor: '#FFFFFF',
			// volumeBorder: '1.5px solid rgba(160,160,160,0.7)',
			// timeColor: '#ffffff',
			// durationColor: '#535353',
			// tooltipColor: 'rgba(255, 255, 255, 0.7)',
			// tooltipTextColor: '#000000'
			
			// light
			buttonColor: 'rgba(0, 0, 0, 0.9)',
			buttonOverColor: '#000000',
			backgroundColor: '#C7C6C7',
			backgroundGradient: 'medium',
			sliderColor: '#FFFFFF',
			sliderBorder: '0px solid #000000',
			volumeSliderColor: '#FFFFFF',
			volumeBorder: '0px solid #000000',
			timeColor: '#000000',
			durationColor: '#535353',
			// tooltips configuration
			tooltips: {
				
				// enable english tooltips on all buttons
				buttons: true,
				
				// customized texts for buttons
				play: 'Spela',
				pause: 'Paus',
				fullscreen: 'Fullsk&auml;rm',
				fullscreenExit: 'St&auml;ng Fullsk&auml;rm',
				mute: 'Ljud av',
				unmute: 'Ljud P&aring;'
			},
			
			// background color for all tooltips
			tooltipColor: '#000000',
			
			// text color
			tooltipTextColor: '#ffffff' 
		
			
			
		}
		
		
		
	}
		
		
	// the iPad plugin and the playlist plugin
	}).ipad().playlist("ul.entries");
	
});






