﻿flowplayer("player", "/shared/flash/flowplayer-3.1.1.swf",  {        // supply the configuration 
 
    clip : {            // Clip is an object, hence '{...}' 
        autoPlay: false, 
        autoBuffering: true, 
        baseUrl: 'http://www.daviscup.com/'   //not specifically
    }, 
 
    playlist: [            // playlist is an array of Clips, hence [...] 
   //     '/shared/flash/daviscup-greatest-hits.flv',            // simple playlist entry: video 
        {url: '/shared/flash/tursunov.flv'}
    ], 
 
    plugins: {
        controls: {            // load the controls plugin     
            url: '/shared/flash/flowplayer.controls-3.1.1.swf',    // always: where to find the Flash object
            playlist: true,                // now the custom options of the Flash object 
            backgroundColor: '#80B280',     // the bgcolor of the controls 
            fullscreen: false               // disable fullscreen
        }                 
    }, 
 
    onFinish: function() {        // set an event handler in the configuration 
        alert("Click Player to start video again"); 
    } 
}); 

