- <script>
- function flashPlayer(flash_path, swfWidth, swfHeight) {
- document.write('<object type="application/x-shockwave-flash" data="' + flash_path + '" width="' + swfWidth + '" height="' + swfHeight + '" id="flashPlayer">');
- document.write('<param name="movie" value="' + flash_path + '" />');
- document.write('<param name="allowScriptAcess" value="sameDomain" />');
- document.write('<param name="allowFullScreen" value="true" />');
- document.write('<param name="menu" value="false" />');
- document.write('<param name="wmode" value="opaque" />');
- document.write('<param name="quality" value="best" />');
- document.write('<param name="bgcolor" value="#F0F0F0" />');
- document.write('<param name="scale" value="noScale" />');
- document.write('</object>');
- }
- flashPlayer('http://you.video.sina.com.cn/api/sinawebApi/outplayrefer.php/vid=64241284_6/s.swf',700,600);
- </script>
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="600" height="490" id="cc_04C84EB10AAC7456">
- <param name="movie" value="http://www.51udf.com/player.swf" />
- <param name="allowFullScreen" value="true" />
- <param name="allowScriptAccess" value="always" />
- <embed src="http://www.51udf.com/player.swf" width="600" height="490" name="cc_04C84EB10AAC7456" allowFullScreen="true" allowScriptAccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"/>
- </object>
本文转自许琴 51CTO博客,原文链接:http://blog.51cto.com/xuqin/925199,如需转载请自行联系原作者