﻿
function flashvideo(linkId, width, height) {
    
    var options = {
        clip: {
            autoPlay: false,
            autoBuffering: true,
            scaling: 'fit'
        }
    };

    $('#' + linkId).css('display', 'block');
    $('#' + linkId).css('width', width + 'px');
    $('#' + linkId).css('height', height + 'px');

    flowplayer(linkId, { 'src': getFlashVideoPlayer(), 'wmode':'opaque' }, options);
    
}
