var conf = {
//  key: '#$bc433e02e581bc4cf4d', //t2v.com
  key: '#@2c0911dffb359bb67d0', //unicajabaloncesto.com
  clip:  {
    baseUrl: 'http://www.unicajabaloncesto.com/videos',
    autoPlay: false,
    autoBuffering: true,
    scaling: "scale"
  },
  canvas:
  {
    backgroundColor: '#000000',
    backgroundGradient: 'none'
  },
  plugins: {
    controls:{
      borderRadius: '0px',
      buttonOffColor: 'rgba(130,130,130,1)',
      timeColor: '#ffffff',
      bufferGradient: 'none',
      zIndex: 1,
      sliderColor: '#000000',
      backgroundColor: 'rgba(0, 51, 0, 0.3)',
      scrubberHeightRatio: 0.6,
      tooltipTextColor: '#ffffff',
      volumeSliderGradient: 'none',
      spacing:{
        time: 6,
        volume: 8,
        all: 2
      },
      sliderGradient: 'none',
      timeBorderRadius: 20,
      timeBgHeightRatio: 0.8,
      volumeSliderHeightRatio: 0.6,
      progressGradient: 'none',
      height: 26,
      volumeColor: 'rgba(0, 102, 0, 1)',
      tooltips:{
        marginBottom: 5,
        buttons: false
      },
      timeSeparator: '',
      name: 'controls',
      opacity: 1,
      volumeBarHeightRatio: 0.2,
      timeFontSize: 12,
      left: '50pct',
      tooltipColor: 'rgba(0, 0, 0, 0)',
      border: '0px',
      bufferColor: '#a3a3a3',
      volumeSliderColor: '#ffffff',
      buttonColor: 'rgba(165, 210, 45, 1)',
      durationColor: 'rgba(165, 210, 45, 1)',
      autoHide:{
        enabled: true,
        hideDelay: 1000,
        mouseOutDelay: 1000,
        hideStyle: 'fade',
        hideDuration: 1000,
        fullscreenOnly: false
      },
      backgroundGradient: 'none',
      width: '100pct',
      sliderBorder: '1px solid rgba(128, 128, 128, 0.7)',
      display: 'block',
      buttonOverColor: '#ffffff',
      timeBorder: '0px solid rgba(0, 0, 0, 0.3)',
      progressColor: 'rgba(0, 102, 0, 1)',
      timeBgColor: 'rgb(0, 0, 0, 0)', //COLOR DE FONDO PARA LA CAJA DE TIEMPOS
      scrubberBarHeightRatio: 0.2,
      bottom: 0,
      builtIn: false,
      volumeBorder: '1px solid rgba(128, 128, 128, 0.7)',
      margins: [2,12,2,12]
    },
    // Position and sizing for the button 'dock'
    dock: {
      // make it sit on the right side of the player
      right: 15,

      // make it vertical
      horizontal: false,

      // make the width appropriate for vertical orientation
      width: '10%',

      // disable autohiding
      autoHide: true
    }
  }
}
var conf2 = {
  //  key: '#$bc433e02e581bc4cf4d', //t2v.com
  key: '#@2c0911dffb359bb67d0', //unicajabaloncesto.com,
  canvas:
  {
    backgroundColor: '#000000',
    backgroundGradient: 'none'
  },
  plugins:  {
    youtube: {
      url:'http://www.unicajabaloncesto.com/flash/flowplayer.youtube-3.2.7.swf',
      enableGdata: true
    },
    controls:{
      borderRadius: '0px',
      buttonOffColor: 'rgba(130,130,130,1)',
      timeColor: '#ffffff',
      bufferGradient: 'none',
      zIndex: 1,
      sliderColor: '#000000',
      backgroundColor: 'rgba(0, 51, 0, 0.3)',
      scrubberHeightRatio: 0.6,
      tooltipTextColor: '#ffffff',
      volumeSliderGradient: 'none',
      spacing:{
        time: 6,
        volume: 8,
        all: 2
      },
      sliderGradient: 'none',
      timeBorderRadius: 20,
      timeBgHeightRatio: 0.8,
      volumeSliderHeightRatio: 0.6,
      progressGradient: 'none',
      height: 26,
      volumeColor: 'rgba(0, 102, 0, 1)',
      tooltips:{
        marginBottom: 5,
        buttons: false
      },
      timeSeparator: '',
      name: 'controls',
      opacity: 1,
      volumeBarHeightRatio: 0.2,
      timeFontSize: 12,
      left: '50pct',
      tooltipColor: 'rgba(0, 0, 0, 0)',
      border: '0px',
      bufferColor: '#a3a3a3',
      volumeSliderColor: '#ffffff',
      buttonColor: 'rgba(165, 210, 45, 1)',
      durationColor: 'rgba(165, 210, 45, 1)',
      autoHide:{
        enabled: true,
        hideDelay: 1000,
        mouseOutDelay: 1000,
        hideStyle: 'fade',
        hideDuration: 1000,
        fullscreenOnly: false
      },
      backgroundGradient: 'none',
      width: '100pct',
      sliderBorder: '1px solid rgba(128, 128, 128, 0.7)',
      display: 'block',
      buttonOverColor: '#ffffff',
      timeBorder: '0px solid rgba(0, 0, 0, 0.3)',
      progressColor: 'rgba(0, 102, 0, 1)',
      timeBgColor: 'rgb(0, 0, 0, 0)', //COLOR DE FONDO PARA LA CAJA DE TIEMPOS
      scrubberBarHeightRatio: 0.2,
      bottom: 0,
      builtIn: false,
      volumeBorder: '1px solid rgba(128, 128, 128, 0.7)',
      margins: [2,12,2,12]
    }
  },
  clip: {
    provider: 'youtube',
    urlResolvers: 'youtube',
    autoPlay: true
  }
}

