一款不错的flash Mp3播放器
程序员文章站
2022-06-26 08:40:08
功能函数:复制代码 代码如下:function mp3(s,a){ document.write("
功能函数:
function mp3(s,a){
document.write("<div class=\"player\"><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=\"468\" height=\"80\"><param name=\"movie\" value=\"player.swf?a="+a+"&s="+s+"\" /><param name=\"quality\" value=\"high\" /><embed src=\"player.swf?a="+a+"&s="+s+"\" quality=\"high\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" type=\"application/x-shockwave-flash\" width=\"468\" height=\"80\"></embed></object></div>")
}
调用方法:
<script type="text/javascript">mp3("http://bbs.mzsjy.com/uploadfile/2006-5/20065270512523176.mp3","0")</script>
player.swf文件下载
复制代码 代码如下:
function mp3(s,a){
document.write("<div class=\"player\"><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=\"468\" height=\"80\"><param name=\"movie\" value=\"player.swf?a="+a+"&s="+s+"\" /><param name=\"quality\" value=\"high\" /><embed src=\"player.swf?a="+a+"&s="+s+"\" quality=\"high\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" type=\"application/x-shockwave-flash\" width=\"468\" height=\"80\"></embed></object></div>")
}
调用方法:
复制代码 代码如下:
<script type="text/javascript">mp3("http://bbs.mzsjy.com/uploadfile/2006-5/20065270512523176.mp3","0")</script>
player.swf文件下载
上一篇: mac系统flash老是过期一个月更新好几次该怎么办?
下一篇: 详解BMP木马