打印

〓部分播放器代码及实效〓

〓部分播放器代码及实效〓



 

 

媚影天籁几款播放器的代码实效

 

 

图片点击可在新窗口打开查看图片点击可在新窗口打开查看图片点击可在新窗口打开查看图片点击可在新窗口打开查看图片点击可在新窗口打开查看图片点击可在新窗口打开查看
 

代码解释:

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

        loop="true" 中的true或1表示重复播放,false或0表示只播放一次
               
width= height= 中的数字分别表示播放器的宽度和高度 =0表示隐藏播放器

EnableContextMenu="0" 禁右键
ShowStatusBar="1" (带显示文件播放信息)

=======================================================

隐藏 (hidden=true)播放器(不循环)
<EMBED src=音乐网址 hidden=true type=audio/x-ms-wma AUTOSTART="1">

 

隐藏(hidden=true)播放器(不循环)


-----------------------------------------------------------
隐藏(hidden=true)播放器(循环)
<EMBED src=音乐网址 hidden=true type=audio/mpeg AUTOSTART="1" loop="-1">

 

隐藏(hidden=true)播放器(循环)


---------------------------------------------------------------
黑色[style="FILTER: xray()"]循环[loop="-1"]播放器
<EMBED style="FILTER: xray()" src=音乐网址 width=360 height=30

type=audio/mpeg volume="0" autostart="true" loop="-1">

 

黑色[style="FILTER: xray()"]循环[loop="-1"]播放器


-------------------------------------------------------------------
浅兰色循环(loop="-1")播放器
<EMBED src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1"

autostart="true" volume="0">

 

浅兰色循环(loop="-1")播放器
 


--------------------------------------------------------------------------
掩饰自动播放器
<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>

 

掩饰自动播放器


-------------------------------------
连播放时选择曲目的播放器
<EMBED pluginspage=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">

 

连播放时选择曲目的播放器
 


-----------------------------------------------------------------
显示曲名的黑色带彩自动播放器
<EMBED style="FILTER: invert()" src=音乐网址 width=320 height=45

type=audio/x-ms-wma ShowStatusBar="1" loop="true" autostart="true">

 


显示曲名的黑色带彩自动播放器
 


--------------------------------------------------------------------
显示曲名的灰白色面板
<EMBED style="FILTER: Gray()" src="链接地址" width=300 height=69

type=application/x-mplayer2 loop="-1" showcontrols="1" ShowDisplay="0"

 ShowStatusBar="1" autostart="1"></EMBED>

 


显示曲名的灰白色面板
 


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

 


灰白面板
 


---------------------------------------------------------------
(带显示文件播放信息)

<EMBED src="链接地址" width=300 height=69 type=application/x-mplayer2

 loop="-1" showcontrols="1" ShowDisplay="0" ShowStatusBar="1"

autostart="1"></EMBED>

 

(带显示文件播放信息)
 


-----------------------------------------------
黑色带彩棕色面板
<EMBED style="FILTER: invert()" src=链接地址 width=300 height=45 loop="-1" autostart="true"></EMBED>

 

黑色带彩棕色面板
 


---------------------------------------------------------------------
浅紫播放器
<TABLE borderColor=#4F3256 background=http://www.dabaoku.com/sucai/shejilei/bj/pic/0197.jpg 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>

 

浅紫播放器



-------------------------------------------------------------------------
粉色
<TABLE borderColor=navy background=http://bbs.sm618.com/UploadFile/2005-9/200592522275884778.jpg 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>

 

粉色



--------------------------------------------------------------------------
黄色闪光
<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=navy background=http://img.blog.163.com/photo/dSUKeAJxImACzAAKYq64hw==/

2256866363266105157.jpg 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>

 

黄色闪光



------------------------------------------------------------------------

色闪光
<TABLE borderColor=#dee4fe cellSpacing=3 cellPadding=0 background=http://img.blog.163.com/photo/NwtDANmgMM_1cyxcDl_UeA==/

3156178913856650087.jpg 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>

 


蓝色闪光



-------------------------------------------------------------------------
花边黑色
<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=400 height=35 type=audio/mpeg volume="0" autostart="false" loop="-0">
</P></TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>

 

花边黑色



-----------------------------------------------------------------------------------------------------
粉色花边
<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 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=25 type=audio/mpeg volume="0" autostart="false" loop="-0">
</P></TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>


粉色花边



---------------------------------------------------------------------------

右键播放器
<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">

 

禁右键播放器
 


----------------------------------------------------------------------------
上下移动  
<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)" cellSpacing=0 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>


上下移动







-------------------------------------------------------------------
(显示文件标签信息)蓝色

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

(显示文件标签信息)蓝色


--------------------------------------------------
(显示文件标签信息)灰白
<DIV><EMBED style="FILTER: Gray()" src="链接地址" loop="-1" width=300 height=140 balance="true" showpositioncontrols="true" showtracker="true" showaudiocontrols="true" showcontrols="true" showstatusbar="true" showdisplay="true" displaysize="0" volume="100" autosize="true" autostart="true" animationatstart="true" transparentatstart="true"></EMBED></div>
(显示文件标签信息)灰白

----------------------------------------------------
(显示文件标签信息)黑彩
<DIV><EMBED style="FILTER: invert()" src="链接地址" loop="-1" width=300 height=140 balance="true" showpositioncontrols="true" showtracker="true" showaudiocontrols="true" showcontrols="true" showstatusbar="true" showdisplay="true" displaysize="0" volume="100" autosize="true" autostart="true" animationatstart="true" transparentatstart="true"></EMBED></div>
(显示文件标签信息)黑彩

-----------------------------------------------------------
(显示文件标签信息)黑
<DIV><EMBED style="FILTER: xray()" src="链接地址" loop="-1" width=300 height=140 balance="true" showpositioncontrols="true" showtracker="true" showaudiocontrols="true" showcontrols="true" showstatusbar="true" showdisplay="true" displaysize="0" volume="100" autosize="true" autostart="true" animationatstart="true" transparentatstart="true"></EMBED></div>
(显示文件标签信息)黑

===================================================
连放
<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>

连放
 

=========================================================
图片播放器!
<TABLE style="FILTER: alpha(opacity=100 Style=0 FinishOpacity=100)" borderColor=#000000 height=249 cellSpacing=0 cellPadding=0 width=314 background=http://img.blog.163.com/photo/b-540VRRtKdPaO7i4TILgQ==/2843460214731057557.jpg border=0>
<TBODY>
<TR>
<TD width=314 height=180 cellpadding="0" cellspacing="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>

图片播放器!

 ______

=================================================

以上效果分见如下:为免各效果同时播放,以下autostart=0  

autostart="true"中true或1表示自动播放,false或0表示手动播放 loop="true" 中的true或1表示重复播放,false或0表示只播放一次 width= height= 中的数字分别表示播放器的宽度和高度 =0表示隐藏播放器 EnableContextMenu="0" 禁右键 ShowStatusBar="1" (带显示文件播放信息)
=======================================================



代码解释:

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

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

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

EnableContextMenu="" 禁右键,1为显示,0为隐藏

ShowStatusBar="" 中的数字表示是否显示文件信息,1为显示,0为隐藏

hidden="" 是否隐藏播放器,1为显示,0为隐藏

音乐链接地址最好是wma、mp3、m3u、asx等

 
让我们一起在这里畅想音乐情怀
图片点击可在新窗口打开查看图片点击可在新窗口打开查看图片点击可在新窗口打开查看图片点击可在新窗口打开查看图片点击可在新窗口打开查看图片点击可在新窗口打开查看


 


媚影天籁之音

 

编辑整理:︶ㄣ草草

 



 

TOP

姐姐辛苦了^^建议加精

TOP

谢谢妹妹鼓励~~~~~~~~偶还有很多音画教材,慢慢来发到音画版区去

TOP

好详细哦,通俗易懂,老婆辛苦了.

TOP

精品贴,偶找了好久了,谢谢楼主无私的分享!

TOP


无我、无众生!

TOP