// install everything after page is ready
function videoPlayer(backgroundURL) {
    $f("player", "/swf/flowplayer-3.2.0.swf", {

        // canvas background
        
        plugins: {
            controls: {
                url: '/swf/flowplayer.controls-3.2.0.swf',

                autoHide: '1',
                buttonColor: '#ffffff',
                timeBorder: '1px solid rgba(0, 0, 0, 0.3)',
                borderRadius: '0px',
                backgroundGradient: 'none',
                sliderGradient: 'none',
                progressGradient: 'medium',
                tooltipTextColor: '#ffffff',
                timeBgColor: '#555555',
                volumeSliderGradient: 'none',
                volumeSliderColor: '#9fbaa9',
                volumeColor: '#9fbaa9',
                bufferGradient: 'none',
                tooltipColor: '#9fbaa9',
                sliderColor: '#000000',
                volumeSliderColor: '#000000',
                timeColor: "transparent",
                buttonOverColor: '#9fbaa9',
                backgroundColor: "transparent",
                durationColor: '#ffffff',
                progressColor: '#9fbaa9',
                bufferColor: '#4c5053',
                height: 1,
                opacity: 0,

                play:false,
                volume:false,
                mute:false,
                time:false,
                stop:false,
                playlist:false,
                fullscreen:false,
                fastBackward:false,
                fastForward:false,

                // scrubber is a well-known nickname for the timeline/playhead combination
                scrubber: true
            }
        },
        clip: {
        autoPlay: true
        }

    });

}
