// JavaScript Document



var config = {
    clip: { 
        autoPlay: false,
	scaling: 'orig'      // aplies to all Clips in the playlist 
    }, 
	play: { 
		url: 'http://adserver2.clipkit.de/adcache/swf/playButton_default.swf',
		opacity: 0.8, 
		fadeSpeed: 500, 
		rotateSpeed: 50 
	},
	canvas:  {
		background: '#000000', 
		backgroundGradient: 'none', 
	},


	plugins: {  
			controls: {  
				url: 'http://adserver2.clipkit.de/adcache/swf/flowplayer.controls-clipkit.swf',
				bottom: 0, 
				height: 25,
				opacity: 1, 
				zIndex: 2, 
				backgroundColor: '#474747',
				backgroundGradient: [0.2,0],
				sliderColor: "#4b4b4b",
				timeBgColor: '#4b4b4b',
				tooltipColor: "#353535",
                tooltipTextColor: "#d3d3d3",
								
				all: false, 
				play:true,
				time: true, 
				scrubber: true,
				tooltips: { 
					buttons: true,
					play: 'Abspielen',
					pause: 'Anhalten'
				} 
			},
			controls2: {  
				url: 'http://adserver2.clipkit.de/adcache/swf/flowplayer.controls-clipkit.swf',
				bottom: 27, 
				left: 2,
				height: 25,
				width: 83,
				opacity: 0.8, 
				zIndex: 3,
				borderRadius: '5px',				
				autoHide: 'allways',
				hideDelay: 1500,
				backgroundColor: '#6a6a6a',
		 		backgroundGradient: 'none',
				all: false, 
				volume: true,
				mute: true,
				tooltips: { 
					buttons: true, 
					mute: 'Ton an', 
					unmute: 'Ton aus'
				}
			},
			controls3: {  
				url: 'http://adserver2.clipkit.de/adcache/swf/flowplayer.controls-clipkit.swf',
				bottom: 27, 
				right: 2,
				height: 25,
				width: 33,
				opacity: 0.8, 
				zIndex: 4,
				borderRadius: '5px',				
				autoHide: 'allways',
				hideDelay: 1500,
				backgroundColor: '#6a6a6a',
		 		backgroundGradient: 'none',
				all: false, 
				fullscreen: true,
				tooltips: { 
					buttons: true, 
					fullscreen: 'Vollbild an' ,
					fullscreenExit: 'Vollbild aus'
				} 
			},
			liverail: { 
				// load the LiveRail plugin 
				url: 'http://static.liverail.com/libas3/plugins/flowplayer/LiveRailPlugin307.swf', 
	 
				// LiveRail specific configuration: 
				LR_USE_JUNCTION: 'false',
				LR_PUBLISHER_ID: '3d7b332d',
				LR_VIDEO_ID: 'myVideoID',
				LR_ADMAP: escape('ov:10,30;in:0%'),
				LR_SKIN_ID: 'cormes',
				LR_TAGS: 'default',
				LR_ANTITAGS: '',
				zIndex: 5
			} 
        }
}

$(function() {
	// setup player without "internal" playlists
	$f("div.player", "http://adserver2.clipkit.de/adcache/flowplayer.swf", {
		clip: config.clip,
		canvas: config.canvas,
		play: config.play,
		plugins: config.plugins
    });
	
	$f("playerkl", "http://adserver2.clipkit.de/adcache/flowplayer.swf", {
		clip: config.clip,
		canvas: config.canvas,
		play: config.play,
		plugins: config.plugins
    });
});

