登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

家庭教育文章

http://youyan7224480.blog.163.com/

 
 
 

日志

 
 

网易博客代码.音频播放器代码第三部分(25例)  

2009-06-26 23:39:27|  分类: 特效代码 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

1.

 

代码如下: 黑色[style="FILTER: xray()"]循环[loop="-1"]

<EMBED style="FILTER: xray()" src=音乐网址 width=360 height=30 type=audio/mpeg volume="0" autostart="true" loop="-1">

 

2.

 

代码如下:循环(loop="-1")

<EMBED src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0">

 

3.

代码如下:自动播放器

<TABLE style="FILTER: Alpha(Opacity=100, FinishOpacity=0, Style=2, StartX=20, StartY=40, FinishX=0, FinishY=0)gray(); WIDTH: 200px; HEIGHT: 83px">

<TBODY>

<TR>

<TD><EMBED src=音乐网址 width=200 height=40 type=audio/mpeg panel="0" autostart="true" loop="true">

</TD></TR></TBODY></TABLE>

 

4.

 

代码如下:可选曲目

    <EMBEDpluginspage=http://www.microsoft.com/windows/mediaplayer/download/default.asp width=400 height=172 type=application/x-mplayer2 FileName="音乐网址" SHOWCONTROLS="1" SHOWSTATUSBAR="1" SHOWDISPLAY="1" SHOWGOTOBAR="1" AUTOSTART="true" PlayCount="1">

 

5.

 代码如下:显示曲名自动

<EMBED style="FILTER: invert()" src=音乐网址 width=320 height=45 type=audio/x-ms-wma ShowStatusBar="1" loop="true" autostart="true">

 

6.

 

 代码如下:显示曲名

<EMBED style="FILTER: Gray()" src="链接地址" width=300 height=69 type=application/x-mplayer2 loop="-1" showcontrols="1" ShowDisplay="0" ShowStatusBar="1" autostart="1"></EMBED>

 

7.

 

 代码如下:

<embed style="FILTER: Gray()" src=链接地址 width=300 height=45 loop="-1" autostart="true"></EMBED>

 

8.

 

代码如下:显示文件

<EMBED src="链接地址" width=300 height=69 type=application/x-mplayer2 loop="-1" showcontrols="1" ShowDisplay="0" ShowStatusBar="1" autostart="1"></EMBED>

 

9.

 

代码如下:

<EMBED style="FILTER: invert()" src=链接地址 width=300 height=45 loop="-1" autostart="true"></EMBED>

 

10.

代码如下:

<TABLE borderColor=#4F3256 border=1>

<TBODY><TR>

<TD style="FILTER: alpha(opacity=50,style=3)">

<P align=center><EMBED src=音乐网址  width=300 height=25 type=audio/mpeg loop="-1" autostart="false" volume="0">

</P></TD></TR></TBODY></TABLE>

 

11.

代码如下:

<TABLE borderColor=navy border=0>

<TBODY><TR>

<TD style="FILTER: alpha(opacity=50,style=3)">

<P align=center><EMBED src=音乐网址  width=300 height=45 type=audio/mpeg loop="-1" autostart="0" volume="0">

</P></TD></TR></TBODY></TABLE>

 

12.

代码如下:

<TABLE style="BORDER-RIGHT: #000000 3px dashed; BORDER-TOP: #000000 3px dashed; BORDER-LEFT: #000000 3px dashed; BORDER-BOTTOM: #000000 3px dashed" cellPadding=0 ><TBODY><TR><TD>

<TABLE borderColor=navy border=0>

<TBODY><TR>

<TD style="FILTER: alpha(opacity=50,style=3)">

<P align=center><EMBED src=音乐网址 width=400 height=35 type=audio/mpeg loop="-1" autostart="0" loop="-1">

</P></TD></TR></TBODY></TABLE>

</TD></TR></TBODY></TABLE>

 

13.

代码如下:

<TABLE borderColor=#dee4fe cellPadding=0 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=400 height=35 type=audio/mpeg volume="0" autostart="false" loop="-1">

</P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>

 

 14.

代码如下: 

<TABLE style="BORDER-RIGHT: #000000 3px dashed; BORDER-TOP: #000000 3px dashed; BORDER-LEFT: #000000 3px dashed; BORDER-BOTTOM: #000000 3px dashed" cellPadding=0 ><TBODY><TR><TD>

<TABLE borderColor=#000000 align=center border=1>

<TBODY><TR><TD>

<P align=center><EMBED style="FILTER: Xray" src=音乐网址 width=400 height=35 type=audio/mpeg volume="0" autostart="false" loop="-0">

</P></TD></TR></TBODY></TABLE>

</TD></TR></TBODY></TABLE>

 

15.

代码如下: 

<TABLE style="BORDER-RIGHT: #ff69b4 3px dotted; BORDER-TOP: #ff69b4 3px dotted; BORDER-LEFT: #ff69b4 3px dotted; BORDER-BOTTOM: #ff69b4 3px dotted" cellPadding=0 align=center ><TBODY>

<TR>

<TD>

<TABLE borderColor=#ff69b4 align=center border=2>

<TBODY>

<TR>

<TD style="FILTER: alpha(opacity=100,style=3)">

<P align=center><EMBED src=音乐网址 width=300 height=25 type=audio/mpeg volume="0" autostart="false" loop="-0">

</P></TD></TR></TBODY></TABLE>

</TD></TR></TBODY></TABLE>

 

16.

 

 

代码如下:禁右键

<EMBED style="BORDER-RIGHT: silver 1px solid; BORDER-TOP: silver 1px solid; BORDER-LEFT: silver 1px solid; BORDER-BOTTOM: silver 1px solid" src=音乐网址 width=200 height=40 type=audio/x-mplayer2 console="video" showstatusbar="0" EnableContextMenu="0" volume="0" autostart="0" loop="-1">

 

17. 

代码如下:上下移动  

<MARQUEE style="LEFT: 230px; ; TOP: 300px" scrollAmount=1 scrollDelay=200 direction=up behavior=alternate width=300 height=400><br><MARQUEE scrollAmount=1 scrollDelay=100 behavior=alternate><br><TABLE style="FILTER: progid:DXImageTransform.Microsoft.Shadow(color:#7ec0ee ,direction:145,strength:20)" cellPadding=0 border=1>

<br><TBODY><br><TR><br><TD>

<EMBED style="FILTER: gray()" src=音乐网址 width=200 height=20 type=audio/mpeg showstatusbar="1" volume="0" loop="-1" autostart="1">

</TD></TR></TBODY></TABLE></MARQUEE></MARQUEE>

 

18.

代码如下:

<DIV><EMBED src="链接地址" loop="-1" width=300 height=140 balance="true" show width=300 height=140 type=audio/x-ms-wma transparentatstart="true" animationatstart="true" autostart="0" autosize="0" volume="100" displaysize="0" showdisplay="true" showstatusbar="1" showcontrols="true" showaudiocontrols="true" showtracker="true" show"> 

 

19.

代码如下:

<DIV><EMBED style="FILTER: Gray()" src="链接地址" loop="-1" width=300 height=140 balance="true" show" src=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=140 type=audio/x-ms-wma transparentatstart="true" animationatstart="true" autostart="0" autosize="true" volume="100" displaysize="0" showdisplay="true" showstatusbar="1" showcontrols="true" showaudiocontrols="true" showtracker="true" show"> 

 

20.

代码如下:

<DIV><EMBED style="FILTER: invert()" src="链接地址" loop="-1" width=300 height=140 balance="true" show" src=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=140 type=audio/x-ms-wma transparentatstart="true" animationatstart="true" autostart="0" autosize="true" volume="100" displaysize="0" showdisplay="true" showstatusbar="1" showcontrols="true" showaudiocontrols="true" showtracker="true" show"> 

 

21.

代码如下:

<DIV><EMBED style="FILTER: xray()" src="链接地址" loop="-1" width=300 height=140 balance="true" show" src=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=140 type=audio/x-ms-wma transparentatstart="true" animationatstart="true" autostart="1" autosize="true" volume="100" displaysize="0" showdisplay="true" showstatusbar="1" showcontrols="true" showaudiocontrols="true" showtracker="true" show"> 

 

22.

代码如下:连放

<EMBED style="FILTER: Gray()" src=音乐网址 width=500 height=35 type=audio/x-ms-wma controls="StatusBar,TACCtrl,ControlPanel" border="0" autostart="1" playcount="0" showtracker="1" volume="0"></EMBED>

 

23.

 

代码如下:

<EMBED src=http://www.dg86.com/lover/show.wma width=266 height=28 type=audio/x-ms-wma allowScriptAccess="never" allowNetworking="internal" volume="0" showtracker="1" playcount="0" autostart="0" border="0" controls="StatusBar,TACCtrl,ControlPanel"></EMBED>

 

24.

代码如下: 图片播放

<TABLE style="FILTER: alpha(opacity=100 Style=0 FinishOpacity=100)" borderColor=#000000 height=249 cellPadding=0 width=314 border=0><TBODY><TR><TD width=314 height=180 cellpadding="0" ></TD></TR><TR><TD align=left><P align=center><EMBED style="FILTER: alpha(opacity=100 Style=3 FinishOpacity=0)black(); style: " src=音乐网址 width=310 height=28 type=video/x-ms-asf loop="-1" autostart="1" volume="0"></P></TD></TR></TBODY></TABLE>

 

25.

代码如下: 

<EMBED style="WIDTH: 444px; HEIGHT: 181px" src=http://www.dg86.com/lover/show.wma width=444 height=181 type=video/x-ms-asf loop="-1" autostart="0" volume="0" allowNetworking="internal" allowScriptAccess="never">

 

说明:

1.

 隐藏不显示:<BGSOUND SRC="音乐地址" LOOP="循环次数"> 

loop=-1 无限循环 

2.

 显示播放器:<embed src=歌曲地址 width=200 height=50 type=audio/mpeg loop="true" autostart="true">

loop="true"表示无限次循环 loop="false"表示自由控制播放次数。等号后面也可以换成任何阿拉伯字。  height="高度值" width="宽度值" 这些同样可以自由调控。可播放RM、WMA、MP3格式的音乐

  

     autostart="true"中true或1表示自动播放,false或0表示手动播放 

          loop="true" 中的true或1表示重复播放,false或0表示只播放一次

          width= height= 中的数字分别表示播放器的宽度和高度 =0表示隐藏播放器

          EnableContextMenu="0" 禁右键

          ShowStatusBar="1" 显示文件播放信息

          volume:取值范围为"0-100",设置音量,默认为系统本身的音量

          starttime:"分:秒",设置歌曲开始播放的时间,如,starttime="00:10",

          从第10秒开始播放

          endtime: "分:秒",设置歌曲结束播放的时间

          controls :控制面板的外观controls="console/smallconsole/playbutton/ pausebutton/stopbutton/volumelever" ·console 正常大小的面板

                                                     ·smallconsole 较小的面板

                                                     ·playbutton 显示播放按钮

                                                     ·pausebutton 显示暂停按钮

                                                     ·stopbutton 显示停止按钮

                                                     ·volumelever 显示音量调节按钮

hidden: 为true时可以隐藏面板

 

置入博客方法如下图解:

1. 进入编辑→2. 排版→3. 模块→ 4. 添加自定义html(显示)(出现在网页左下角)→ 5. 复制下列语法後贴上→6. 新增→ 7. 将模块移到想显示的位置→8. 再保存(右上角)→9. 预览我的博客。→10. 就可以看到出现在你的博客上了!

网易博客代码.音频播放器代码第三部分(25例) - 悠雁(THINKER) - 悠雁的博客

 

  评论这张
 
阅读(198)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018