/**
 * External configuration file.
 */
var conf = {
    playlist: [
        {
//            url: 'http://www.horseandcountry.tv/badminton/images/container-640x335.png'
//            url: 'http://www.horseandcountry.tv/badminton/images/container-570x320.png'
            url: 'http://www.horseandcountry.tv/badminton/images/container-570x295.png'
        },
        {
            url: 'main',
            provider: 'openXAdStreamer',
            autoPlay: false
        },
        {
            url: 'badminton',
            provider: 'liveStreamer',
            live: true
        }
    ],

    plugins: {
        controls:  {
            url:'http://www.horseandcountry.tv/badminton/flash/flowplayer.controls-3.1.0.swf',
            height:25,
            scaling:'scale',
            autoHide:'never',
            backgroundColor:'#414141',
            backgroundGradient:'none',
            timeColor:'#ffffff',
            progressColor:'#7A7975',
            bufferColor:'#7A7975',
            bufferGradient:'none',
            sliderColor:'#000000',
            sliderGradient:'none',
            buttonColor:'#E8921A',
            buttonOverColor:'#E8921A'
        },

        openXRegions: {
            url: 'http://www.horseandcountry.tv/badminton/flash/hcregions-0.4.5.swf',
            style: {
                '.message': {
                    color: '#ffffff',
                    fontSize: 12,
                    fontWeight: 'light',
                    fontFamily: 'arial'
                }
            },
            borderRadius: 1,
            border: '0px',
            backgroundTransparent: true,
            backgroundColor: 'transparent',
            showCloseButton: false,
            regions: [
                {
                    id: 'bug',
                    verticalAlign: 'top',
                    horizontalAlign: 'left',
                    width: 90,
                    height: 50
                },
                {
                    id: 'message',
                    verticalAlign: 'bottom',
					horizontalAlign: 'right',
					width: '100%',
					height: 20
                }
            ]
        },

        openXAdStreamer: {
            url: 'http://www.horseandcountry.tv/badminton/flash/hcplayer-0.4.5.swf',
            netConnectionUrl: 'rtmp://horsetv.fcod.llnwd.net/a3477/o33/',
            vastServerURL: 'http://beta.horseandcountry.tv/openx/www/delivery/fc.php',
            debugLevel: 'fatal',
            adSchedule: [
                { zone: '76',
                  position: 'pre-roll'
                },
                { zone: 'static',
                  position: 'bug',
                  startTime: '00:00:01',
                  startPoint: 'absolute',
                  html: '<span class="bug"><img src="http://www.horseandcountry.tv/badminton/images/hnc_bug_60.png"/></span>',
                  applyToParts: [0]
                }
            ]
        },

      	liveStreamer: {
           	url: 'http://www.horseandcountry.tv/badminton/flash/flowplayer.rtmp-3.1.0.swf',
           	netConnectionUrl: 'rtmp://horsetv.fc.llnwd.net/horsetv',
                subscribe: true
      	}
    }
}
