/**
 * External configuration file.
 */
var conf = {
	 clip: {
		  provider: 'openXAdStreamer',

		  onStart: function(clip) {
		      buttonActions.streamStarted();
		  }
	 },

	 playlist: [
		  {
		     url: "main"
		  },
		  {
		     url: "popup",
		     autoStart:true
		  }
	 ],

	 plugins: {
		  openXRegions: {
//				url: 'http://static.bouncingminds.com/flash/OpenXRegions-0.4.6.swf'
				url: 'http://static.bouncingminds.com/flash/OpenXRegions-0.5.0-312.swf'
		  },

		  openXAdStreamer: {
//				url: 'http://static.bouncingminds.com/flash/OpenXAdStreamer-0.4.6.swf',
				url: 'http://static.bouncingminds.com/flash/OpenXAdStreamer-0.5.0-312.swf',
				netConnectionUrl: 'rtmp://flowplayer.org/fastplay',
				streams: [ { file:'mp4:bbb_640x360_h264.mp4', duration:'00:09:56' } ],
                vastServerURL: 'http://beta.bouncingminds.com/openx/www/delivery/fc.php',

			    onTemplateLoaded: function() { buttonActions.templateLoaded(); },
			    onCuepointInfo: function(data) { buttonActions.onCuepoint(data); },
				adSchedule: [
					 {
						zone: '2',
						position: 'pre-roll'
					 },
					 {
						zone: '6',
						position: 'bottom',
						width: 426,
						height: 40,
						startTime: '00:00:15',
						duration: '15'
					 }
				]
		  }
	 }
}
