
flowplayer("player", "/swf/flowplayer.commercial-3.1.1.swf",  {
	
	// product key
	key: '#$b274631796148071f6f',

	// pause at the first frame so that custom play button is shown immediately
	clip: {

	       
	        scaling: 'fit'
     		
	},


	// the logo, shown 10 seconds from the start
	logo: {
		url: '/images/definedlearning.png',
		fullscreenOnly: false,
		displayTime: 5
	},


	// play button
	play: {
		url: '/images/play_large.png',
		width: 83,
		height: 83
	},
	playlist: [ 
	 
	    // this first PNG clip works as a splash image 
	    {
	    	url: urlVideoSplashImage,
	    	scaling: 'scale'
	    
	    }, 
	 
	    // second clip is a video. when autoPlay is set to false the splash screen will be shown 
	    { 
	        url: urlVideoMedia, 
	        autoPlay: false, 
	         provider: 'rtmp'
	    } ,
	     {
	    	    	url: urlVideoSplashImage,
	    	    	scaling: 'scale'
	    	    
	    }
		] ,

	// context menu
	contextMenu: [

		'Defined Learning Video Player 1.0.0',

		{'About Defined Learning': function() {
			location.href = 'http://www.definedlearning.com';
		}},
		
				{'About Defined STEM': function() {
					location.href = 'http://www.definedlearning.com/defined-stem.cfm';
		}},
	],

	// change default skin to "tube"
	plugins: {
	        rtmp: {
	          url: '/swf/flowplayer.rtmp-3.1.0.swf',
	          netConnectionUrl: 'rtmpt://media.definedlearning.com/dlmedia'
        },
		controls: {
			autoHide:'always'
			//url: 'flowplayer.controls-tube-3.1.1.swf'
		}
	}

});


