﻿function CreatePlayer(id, flashUrl) {
    flowplayer(id, flashUrl, {
        key: '#$9203b1be8bc5edfa560',
        play: {
            /*
            relative path to the play button, this can be a JPG, PNG or SWF file.
            NOTE: the button can only be changed in the commercial versions
            */
            //url: 'play.swf',

            // all display properties, except the z-index, can be modified in all versions
            opacity: 0.8,

            // label text; by default there is no text
            label: null,

            // label text at end of video clip
            replayLabel: null,

            /*
            progress indicator - this is shown while video is being loaded.
            it is always in the same place as the play button.
            */
            // how fast progress indicator fades out after video is loaded
            fadeSpeed: 500,

            // how fast buffering animation rotates
            rotateSpeed: 50

        }
    });
}
