中国知青网工作站 栏电脑新手 → 常用播放器代码


  共有2480人关注过本帖树形打印复制链接

主题:常用播放器代码

帅哥哟,离线,有人找我吗?
阳光之神
  1楼 博客 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:五星会员 帖子:1074 积分:6417 威望:0 精华:4 注册:2009/2/22 15:54:00
常用播放器代码  发帖心情 Post By:2013/12/1 8:57:00 [只看该作者]

<EMBED style="FILTER: Xray" src=http://www.cnhanzi.com/zhongqiu/music.wma width=484 height=45 type=audio/mpeg volume="0" autostart="true" loop="-1"> </MARQUEE>

 

 

播放器说明:

常用属性如下:

src="歌曲链接地址"
设定 歌曲链接地址 档案及路径,使用时去掉引号。

autostart=true
是否在音乐档下载完之后就自动播放。true 是,false 否 (内定值)。

loop="true"
是否自动反复播放。LOOP=2 表示重复两次,true 是, false 否。

HIDDEN="true"
是否完全隐藏控制画面,true 为是,no 为否 (内定)。

STARTTIME="分:秒"
设定歌曲开始播放的时间。如 STARTTIME="00:30" 表示从第30秒处开始播放。

VOLUME="0-100"
设定音量的大小,数值是0到100之间。内定则为使用系统本身的设定

WIDTH="整数" 和 HIGH="整数"
设定控制面板的高度和宽度。(若 HIDDEN="no")

ALIGN="center"
设定控制面板和旁边文字的对齐方式,其值可以是 top、bottom、center、baseline、 left、right、texttop、middle、absmiddle、absbottom

C
设定控制面板的外观。预设值是 console。
console 一般正常面板   
smallconsole 较小的面板   
playbutton 只显示播放按钮   
pausecutton 只显示暂停按钮   
stopbutton 只显示停止按钮   
volumelever 只显示音量调节按钮

如果要隐藏播放器,把width和height的数值改成0或者1就可以了,但不能真正隐藏,可见到一条竖线,最好用hidden=true来隐藏。

另,type值有针对性,MP3和Wave文件通常用audio/mpeg,WMA用audio/x-ms-wma,Real类型的要用application/octet-stream,Flash类型用application/x-shockwave-flash。另外,如果不想让播放机的界面显示出来,可用hidden=true替代width和height两个参数。至于播放值的高与宽,多做尝试即可把握。
 


有阳光的地方一定很温暖。。

阳光共享论坛
http://yangguangzhishen.haotui.com
 回到顶部
帅哥哟,离线,有人找我吗?
阳光之神
  2楼 博客 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:五星会员 帖子:1074 积分:6417 威望:0 精华:4 注册:2009/2/22 15:54:00
  发帖心情 Post By:2013/12/1 8:57:00 [只看该作者]

<EMBED style="FILTER: Xray" src=http://www.ygls.net/1.wma width=484 height=45 type=audio/mpeg volume="0" autostart="true" loop="-1"> </MARQUEE>

 

 

黑色

  1. <EMBED style="FILTER: Xray" src="歌曲地址" width=300 height=40 type=audio/mpeg loop="-1" autostart="1" volume="0">
复制代码

棕色:

  1. <EMBED style="FILTER: invert()" src="歌曲地址" width=300 height=40 type=audio/mpeg volume="0" autostart="TRUE" loop="true">
复制代码

黑色两头尖:

  1. <EMBED id=myPlayer style="FILTER: xray() Alpha(opacity=100,style=2)" src="音乐网址" width=300 height=28 type=audio/mpeg loop="1" autostart="true" volume="0"></EMBED>
复制代码

棕色两头尖 :

  1. <EMBED id=myPlayer style="FILTER: invert() Alpha(opacity=100,style=2)" src="音乐网址" width=300 height=28 type=audio/mpeg loop="1" autostart="true" volume="0"></EMBED>
复制代码

播放器

  1. <DIV align=center><EMBED style="FILTER: Alpha(opacity=100,style=2) gRAY()" src="歌曲地址" width=80 height=24 type=audio/x-ms-wma loop="1" autostart="1"></DIV>
复制代码

显示曲名播放器:

  1. <EMBED style="FILTER: xray()" id=myPlayer src="音乐网址" width=300 height=50 type=audio/mpeg AutoStart="-1" loop="1" ShowC ShowStatusBar="-1" ShowDisplay="0" EnableC></EMBED>
复制代码


有阳光的地方一定很温暖。。

阳光共享论坛
http://yangguangzhishen.haotui.com
 回到顶部
帅哥哟,离线,有人找我吗?
阳光之神
  3楼 博客 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:五星会员 帖子:1074 积分:6417 威望:0 精华:4 注册:2009/2/22 15:54:00
  发帖心情 Post By:2013/12/1 8:58:00 [只看该作者]

<TABLE borderColor=#bc8f8f cellSpacing=1 width=315 border=2>
<TBODY>
<TR>
<TD><EMBED style="FILTER: invert(); WIDTH: 315px; HEIGHT: 28px" src=http://res.aajoy.com/mp3/3407.mp3 type=audio/mpeg autostart="-1"></EMBED></TD></TR></TBODY></TABLE>
<P></P>

 

 



有阳光的地方一定很温暖。。

阳光共享论坛
http://yangguangzhishen.haotui.com
 回到顶部
帅哥哟,离线,有人找我吗?
阳光之神
  4楼 博客 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:五星会员 帖子:1074 积分:6417 威望:0 精华:4 注册:2009/2/22 15:54:00
  发帖心情 Post By:2013/12/1 8:59:00 [只看该作者]

<EMBED style="FILTER: invert(); WIDTH: 315px; HEIGHT: 28px" src=http://www.chp2075.com/chplucky/music/s_r_k_l_2007.mp3 type=audio/mpeg autostart="-1">



有阳光的地方一定很温暖。。

阳光共享论坛
http://yangguangzhishen.haotui.com
 回到顶部
帅哥哟,离线,有人找我吗?
阳光之神
  5楼 博客 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:五星会员 帖子:1074 积分:6417 威望:0 精华:4 注册:2009/2/22 15:54:00
  发帖心情 Post By:2013/12/1 9:01:00 [只看该作者]

天空花

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/200712311458.swf

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/2007123114252.swf

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/200712311435.swf

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/2007123145519.swf

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/2007123151640.swf

 

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/200712315205.swf

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/2007123152012.swf

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/2007123152020.swf

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/200712316015.swf

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/200712316029.swf

 

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/2007123164248.swf

 

http://bbs.chelder.com.cn/UpFile/UpAttachment/2007-12/2007123165118.swf

 

 

http://mailimg-fs.hanmail.net/fl/effect/19/e-fall2.swf 枫叶下落

 

 http://bbs.gw.com.cn/UploadFile/2012-4/201242118431845555.swf 枫叶下落

 

 

http://www.zxtx.org/user/yiyi/html/flash/082.swf  玫瑰和牡丹下落

 

http://bbs.flasher123.com/UploadFile/2004-9/20049120533895073.swf 

 

http://ftp.oolove.com/youyuan/flash/红花1.swf

 

http://bbs.gw.com.cn/UploadFile/2012-4/201242118463432538.swf紫色玫瑰下落

 

http://imgfree.21cn.com/free/flash/61.swf   从下往上走的粉红色心

 

<EMBED style="LEFT: 350px; WIDTH: 850px; POSITION: absolute; TOP: 100px; HEIGHT: 3000px" align=right src=http://bbs.gw.com.cn/UploadFile/2012-4/201242118463432538.swf width=800 height=3000 type=application/octet-stream ;; quality="high" wmode="transparent"></EMBED><BR>

 

 

贴的时候看一下flash的地址现在有否好用。这都是以前准备的。大家也可以下载然后上传。

 

 



有阳光的地方一定很温暖。。

阳光共享论坛
http://yangguangzhishen.haotui.com
 回到顶部
帅哥哟,离线,有人找我吗?
阳光之神
  6楼 博客 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:五星会员 帖子:1074 积分:6417 威望:0 精华:4 注册:2009/2/22 15:54:00
  发帖心情 Post By:2013/12/1 9:03:00 [只看该作者]

1、普通无特效播放器: <EMBED src=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0"></EMBED>


2、灰色播放器: <EMBED style="FILTER: Gray" src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0"></EMBED>


3、深金属粉按钮的播放器: <EMBED style="FILTER: Invert" src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0"></EMBED>


4、黑色播放器: <EMBED style="FILTER: Xray" src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0"></EMBED>


5。灰色小播放器: <embed src=音乐网址 width="180" height="26" hidden="true" type="text/plain; charset=GB2321" volume="0" autostart="true" loop="false" style="filter: progid:dximagetransform.microsoft.emboss()"></embed>


6。粉红色加齿边的播放器: <TABLE style="BORDER-RIGHT: #ff69b4 3px dashed; BORDER-TOP: #ff69b4 3px dashed; BORDER-LEFT: #ff69b4 3px dashed; BORDER-BOTTOM: #ff69b4 3px dashed" cellSpacing=0 cellPadding=0 bgColor=white><TBODY><TR><TD><TABLE borderColor=#ff69b4 align=center bgColor=#ffccf5 border=2><TBODY><TR><TD style="FILTER: alpha(opacity=100,style=3)"><P align=center><EMBED src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FONT><BR></DIV><P></P>


7。粉红色花边的播放器: <TABLE style="BORDER-RIGHT: #ff69b4 3px dotted; BORDER-TOP: #ff69b4 3px dotted; BORDER-LEFT: #ff69b4 3px dotted; BORDER-BOTTOM: #ff69b4 3px dotted" cellSpacing=0 cellPadding=0 align=center bgColor=white><TBODY><TR><TD><TABLE style="BORDER-RIGHT: #ff69b4 3px dashed; BORDER-TOP: #ff69b4 3px dashed; BORDER-LEFT: #ff69b4 3px dashed; BORDER-BOTTOM: #ff69b4 3px dashed" cellSpacing=0 cellPadding=0 bgColor=white><TBODY><TR><TD><TABLE style="BORDER-RIGHT: #ff69b4 3px dotted; BORDER-TOP: #ff69b4 3px dotted; BORDER-LEFT: #ff69b4 3px dotted; BORDER-BOTTOM: #ff69b4 3px dotted" cellSpacing=2 cellPadding=0 bgColor=white><TBODY><TR><TD><TABLE borderColor=#ff69b4 align=center bgColor=#ffccf5 border=2><TBODY><TR><TD style="FILTER: alpha(opacity=100,style=3)"><P align=center><EMBED src=音乐网址 width=300 height=45 type=audio/mpeg volume="0" autostart="true" loop="-1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>


8。显示曲名的播放器: <EMBED style="FILTER: xray()" src="音乐网址" width=300 height=50 ShowStatusBar="1" type=audio/mpeg volume="0" autostart="true" loop="-1">


9。朦胧的播放器: <CENTER><TABLE style="FILTER: Alpha(Opacity=80, FinishOpacity=0, Style=3, StartX=20,StartY=50, FinishX=0, FinishY=0)invert()"><TBODY><TR><TD><EMBED style="FILTER: xray()" src=音乐网址 width=180 height=50 type=audio/mpeg showstatusbar="0" loop="true"></EMBED></TD></TR></TBODY></TABLE></CENTER>


10。彩色闪动播放器: <DIV align=center><TABLE id=table1 style="BORDER-COLLAPSE: collapse" height=15 cellSpacing=0 cellPadding=0 width=300 background=http://www.dabaoku.com/gif/168/gif001.gif border=10><TBODY><TR><TD><TABLE id=table2 style="FILTER: Chroma(Color='#000000')" height=20 cellSpacing=0 cellPadding=0 width=300 border=0><TBODY><TR><TD><TD style="FILTER: alpha(opacity=30,style=-1)"><P align=center><EMBED style="FILTER: Gray" src=音乐网址 width=300 height=15 type=audio/mpeg volume="0" autostart="true" loop="2" <P></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>


11.黑色灰框播放器: <P align=center><EMBED id=M.E style="BORDER-RIGHT: #ced8ef 5px solid; BORDER-TOP: #ced8ef 5px solid; FILTER: wave(strength=0,freq=1,lightstrength=65,phase=60,add=0) alpha(opacity=80 Style=1 FinishOpacity=80) gray progid:DXImageTransform.Microsoft.glow(color=#000000 Direction=120 strength=4 PixelRadius=0 MakeShadow=0); BORDER-LEFT: #ced8ef 5px solid; WIDTH: 400px; BORDER-BOTTOM: #ced8ef 5px solid; HEIGHT: 80px" src=音乐网址 type=audio/x-ms-wma showstatusbar="10" loop="50" SHOWDISPLAY="1" volume="0"></P>


12.彩虹播放器: <TABLE id=table1 style="BORDER-COLLAPSE: collapse" height=10 cellSpacing=0 cellPadding=0 width=300 background=http://tech.china.com/zh_cn/home4u/sucai/gifanimation/line/0024.gif border=1><TBODY><TR><TD><TABLE id=table2 style="FILTER: Chroma(Color='#000000')" height=10 cellSpacing=0 cellPadding=0 width=430 border=0><TBODY><TR><TD><TD style="FILTER: alpha(opacity=60,style=3)"><P align=center><EMBED style="FILTER: Gray" src=音乐网址 width=300 height=45 type=audio/mpeg volume="0" autostart="true" loop="-1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>


13.蓝色闪动播放器: <TABLE borderColor=#dee4fe cellSpacing=3 cellPadding=0 background=http://www.yhbbs.com/UploadFile/2004-12/2004123023101352.gif border=2><TBODY><TR><TD><TABLE align=center border=0><TBODY><TR><TD style="FILTER: alpha(opacity=60,style=3)"><P align=center><EMBED style="FILTER: Gray" src=音乐网址 width=300 height=45 type=audio/mpeg volume="0" autostart="true" loop="-1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>


14.紫色宽边自动循环播放器: <font face=楷体_GB2312 color=#9900cc><strong><br></strong></font><font color=#ff6600><br><table style="BORDER-RIGHT: #6633ff 3px dashed; BORDER-TOP: #6633ff 3px dashed; BORDER-LEFT: #6633ff 3px dashed; BORDER-BOTTOM: #6633ff 3px dashed" cellSpacing=0 cellPadding=0 align=center<tbody<tr><td><table style="WIDTH: 435px; HEIGHT: 134px" borderColor=#6633ff cellSpacing=2 cellPadding=0 align=center bgColor=#9933ff border=9<tbody<tr><td><table style="FILTER: Alpha(Opacity=70, FinishOpacity=0, Style=1, StartX=20, StartY=40, FinishX=0, FinishY=0)gray(); WIDTH: 60px; HEIGHT: 36px"><tbody<tr><td><embed style="WIDTH: 397px; HEIGHT: 80px" pluginspage=http://www.nt100m.com/w//xxbz2002/美丽.asx width=397 height=80 type=application/x-mplayer2 filename="音乐网址" showdisplay="1" showc showstatusbar="1" showgotobar="0" autostart="autostart" playcount="0" volume="0"></embed></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><p align=center><a href="图片点击可在新窗口打开查看" target=_blank></a></p></font>


15.手动播放器: <P align=center><EMBED style="FILTER: " align=absMiddle src=音乐网址 width=210 height=27 type=audio/x-pn-realaudio-plugin xray(); WIDTH: 210px; HEIGHT: 27px autostart="false" loop="false" maintainaspect="false" c initfn="load-types" mime-types="mime.types"></EMBED></STRONG></FONT></FONT></P>


16.黑色播放器: <p align="center"><embed style="filter: xray()" src="音乐网址" width="360" height="30" type"audio/mpeg" loop="-1" autostart="true" volume="0"></p>


17.黑色宽播放器: <P align=center><EMBED id=M.E style="BORDER-RIGHT: #ced8ef 5px solid; BORDER-TOP: #ced8ef 5px solid; FILTER: wave(strength=0,freq=1,lightstrength=50,phase=45,add=0) alpha(opacity=80 Style=2 FinishOpacity=80) gray progid:DXImageTransform.Microsoft.glow(color=#000000 Direction=120 strength=4 PixelRadius=0 MakeShadow=0); BORDER-LEFT: #ced8ef 5px solid; WIDTH: 400px; BORDER-BOTTOM: #ced8ef 5px solid; HEIGHT: 80px" src=音乐网址 type=audio/x-ms-wma volume="0" SHOWDISPLAY="1" loop="50" showstatusbar="10"></P>


16.加锯齿边的黑色播放器: <TABLE style="BORDER-RIGHT: #000000 3px dashed; BORDER-TOP: #000000 3px dashed; BORDER-LEFT: #000000 3px dashed; BORDER-BOTTOM: #000000 3px dashed" cellSpacing=0 cellPadding=0 bgColor=#00000><TBODY><TR><TD><TABLE borderColor=#000000 align=center border=1><TBODY><TR><TD><P align=center><EMBED style="FILTER: Xray" src=音乐网址 width=300 height=45 type=audio/mpeg volume="0" autostart="true" loop="-1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>


17.图片底的播放器: <P align=center><TABLE id=table1 style="BORDER-COLLAPSE: collapse" height=20 cellSpacing=0 cellPadding=0 width=400 background=http://www.coolhot.cn/680/hongxiu/yaoyaosucai/chaguan/023.files/likeangelanimbkgd.gif border=1><TBODY><TR><TD><TABLE id=table2 style="FILTER: Chroma(Color='#000000')" height=20 cellSpacing=0 cellPadding=0 width=400 border=0><TBODY><TR><TD><TD style="FILTER: alpha(opacity=30,style=-1)"><P align=center><EMBED style="FILTER: Gray" src=音乐网址 width=300 height=15 type=audio/mpeg volume="0" autostart="true" loop="2"<P></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></P>


18.有唱片图片的播放器:<DIV align=center><TABLE style=WIDTH: 584px; HEIGHT: 23px cellSpacing=0 cellPadding=0 width=584 border=0><TBODY><TR><TD><P align=center><P></P><P align=center><TABLE borderColor=#000000 height=249 cellSpacing=0 cellPadding=0 width=324 align=left background=http://50.qzkj.net/UploadFile/2005-12/2005122120481223250.gif border=0><TBODY><TR><TD width=324 height=202 cellPadding=0 cellSpacing=0><P align=center></P></TD></TR><TR><TD align=left><P align=center><EMBED src=音乐网址 width=300 height=24 type=application/x-mplayer2 volume=0 autostart=0 loop=-1></P></TD></TR></TBODY></TABLE>


19.小点的紫色边播放器: <FONT face=楷体_GB2312 color=#9900cc><STRONG><BR></STRONG></FONT><FONT color=#ff6600><BR><TABLE style="BORDER-RIGHT: #6633ff 3px dashed; BORDER-TOP: #6633ff 3px dashed; BORDER-LEFT: #6633ff 3px dashed; WIDTH: 220px; BORDER-BOTTOM: #6633ff 3px dashed; HEIGHT: 80px" borderColor=#6633ff cellSpacing=0 cellPadding=0 align="center<tbody><tr><td><table" bgColor=#9933ff border=9><TBODY><TR><TD><TABLE style="FILTER: Alpha(Opacity=70, FinishOpacity=0, Style=1, StartX=20, StartY=40, FinishX=0, FinishY=0)gray(); WIDTH: 60px; HEIGHT: 36px"><TBODY<TR><TBODY><TR><TD><EMBED style="WIDTH: 200px; HEIGHT: 60px" width=260 height=80 type=application/x-mplayer2 filename="音乐网址" showdisplay="1" showc showstatusbar="1" showgotobar="0" autostart="true" playcount="0" volume="0"></EMBED></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FONT>





有阳光的地方一定很温暖。。

阳光共享论坛
http://yangguangzhishen.haotui.com
 回到顶部