//Define a global configuration for each of the flowplayers. Can be over ridden in the local page JS files (e.g home.js)

var Global = 
{		
  config : 
  {
    key : '#$67b410f19fdecb10f2d'
    	
    	//Live - #$67b410f19fdecb10f2d
    	//Company - #$cbe03bf38fff4500ce2
    	
    ,logo :
    {
		//url : 
    }
    	
    //Standard settings for the clip
    ,clip: 
  	{				
  		provider: 'rtmp'
  		,autoPlay: false
  		,urlResolvers: 'bwcheck'
  	}  	

  	//Install the plugins
  	,plugins: 
  	{

  	  // the rtmp plugin for streaming media
  		rtmp: 
  		{
  			url: '/_assets/flowplayer/plugins/flowplayer.rtmp-3.2.3.swf'
  			,proxyType : 'best'
  		}

      // bandwidth checker. This is used in conjunction with the smil swf to decode the SMIL files
       ,bwcheck: 
       {
         url: '/_assets/flowplayer/plugins/flowplayer.bwcheck-3.2.3.swf'
         ,dynamic: true
       }

       // google analytics for the player. This will use the code that is in the footer of the html
      ,gatracker: 
      {
      	url: "/_assets/flowplayer/plugins/flowplayer.analytics-3.2.1.swf"
      	,trackingMode: "AS3"
      	,googleId: "UA-21113221-1"
      	,debug : false
      }           

      ,controls :
      {
		url: '/_assets/flowplayer/plugins/flowplayer.controls-3.2.3.swf'		
		,"bottom" : 0
		,"left" : "50pct"
		,"width" : "100pct"
		,"display" : "block"			
		,"timeColor" : "#ffffff"
		,"borderRadius" : "0px"
		,"slowForward" : false
		,"bufferGradient" : "none"
		,"backgroundColor" : "transparent"
		,"volumeSliderGradient" : "none"
		,"slowBackward" : false
		,"timeBorderRadius" : 20
		,"time" : true
		,"progressGradient" : "none"
		,"height" : 26
		,"volumeColor" : "#4599ff"
		,"tooltips" : 
		{
			"marginBottom" : 5
			,"volume" : true
			,"scrubber" : true
			,"buttons" : false
		}
		,"fastBackward" : false
		,"opacity" : 1
		,"timeFontSize" : 12
		,"border" : "0px"
		,"bufferColor" : "#a3a3a3"
		,"volumeSliderColor" : "#ffffff"
		,"buttonColor" : "#ffffff"
		,"mute" : true
		,"autoHide" : 
		{	
			"enabled" : true
			,"hideDelay" : 500
			,"hideStyle" : "fade"
			,"mouseOutDelay" : 500
			,"hideDuration" : 400
			,"fullscreenOnly" : true
		}
		,"backgroundGradient" : "none"		
		,"sliderBorder" : "1px solid rgba(128, 128, 128, 0.7)"
		,"buttonOverColor" : "#ffffff"
		,"fullscreen" : true
		,"timeBgColor" : "rgb(0, 0, 0, 0)"
		,"scrubberBarHeightRatio" : 0.2
		
		,"stop" : true
		,"sliderColor" : "#000000"
		,"zIndex" : 1
		,"scrubberHeightRatio" : 0.6
		,"tooltipTextColor" : "#ffffff"
		,"sliderGradient" : "none"
		,"spacing" : 
		{
			"time" : 6
			,"volume" : 8
			,"all" : 2
		}
		,"timeBgHeightRatio" : 0.8
		,"volumeSliderHeightRatio" : 0.6
		,"timeSeparator" : " "
		,"name" : "controls"
		,"volumeBarHeightRatio" : 0.2		
		,"tooltipColor" : "rgba(0, 0, 0, 0)"
		,"playlist" : false
		,"durationColor" : "#b8d9ff"
		,"play" : {			
			'enabled' : true
		}
		,"fastForward" : false
		,"timeBorder" : "0px solid rgba(0, 0, 0, 0.3)"
		,"progressColor" : "#4599ff"
		,"volume" : true
		,"scrubber" : true //The timeline bar
		,"builtIn" : false
		,"volumeBorder" : "1px solid rgba(128, 128, 128, 0.7)"
		,"margins":[2,6,2,12]
  		}
	 } 
  }
}    


