git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5294 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
misol 2009-01-09 03:32:21 +00:00
parent 299a548c76
commit f00ac0681e

View file

@ -488,9 +488,9 @@ function displayMultimedia(src, width, height, options) {
} else if(/\.flv$/i.test(src) || /\.mov$/i.test(src) || /\.moov$/i.test(src) || /\.m4v$/i.test(src)) {
html = '<embed src="'+request_uri+'common/tpl/images/flvplayer.swf" allowfullscreen="true" autostart="'+autostart+'" width="'+width+'" height="'+height+'" flashvars="&file='+src+'&width='+width+'&height='+height+'&autostart='+autostart+'" wmode="'+params.wmode+'" />';
} else {
html = '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height;
html = '<embed src="'+src+'" autostart="'+autostart+'" width="'+width+'" height="'+height+'"';
if(params.wmode == 'transparent') {
html += ' windowlessvideo="1"';
html += 'windowlessvideo="1"';
}
html += '></embed>';
}