//<![CDATA[
// flowplayer configuration

// Look to add a splash image and fade-in, fade-out features

// Flowplayer installation with Flashembed parameters
flowplayer("player", {
    	// our Flash component
	    src: "../videos/flowplayer-3.1.5.swf",

    	// we need at least this version
	    version: [9, 115],

    	// older versions will see a custom message
	    onFail: function()  {
		    document.getElementById("info").innerHTML =
			    "An error occurred. Your flash player may be out of date. " +
    			"Your version is " + this.getVersion()
	    	;
    	}
    }, {    // here is our third argument which is the Flowplayer configuration
        clip: {
            autoBuffering: true
        },
        playlist: [
            '../videos/traindemo.mp4',
            '../images/web_demo_end.jpg'
        ],
        plugins: {
            controls: { // load the controls plugin
                playlist: true,  // now the custom options of the Flash object

                url: '../videos/flowplayer.controls-3.1.5.swf',   // always: where to find the Flash object
                backgroundColor: '#000066',
                tooltips: {  // this plugin object exposes a 'tooltips' object
                    buttons: true,
                    fullscreen: 'Enter Fullscreen mode'
                }
            }
        }
    }
);
//]]>