object/param标签实例

 <转自:http://blog.sina.com.cn/s/blog_4cc56df30100dey9.html>

 

只要把里面的{content}换为相应的地址就可以了

MP3&WMA 代码

<object id="SoutingPlayer" width="400" height="64" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"   codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" hspace="5">

    <param name="URL" value="{content}">

    <param name="AutoStart" value="1">

    <param name="PlayCount" value="100">

    <param name="volume" value="80">

    <param name="EnableContextMenu" value="0">

</object>

Windows Media Player 10 代码

<object id="SoutingPlayer" width="400" height="370" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"   codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" hspace="5">

    <param name="URL" value="{content}">

    <param name="AutoStart" value="1">

    <param name="PlayCount" value="100">

    <param name="volume" value="80">

    <param name="EnableContextMenu" value="1">

</object>

RM 代码

<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" class="OBJECT" id="RAOCX" width="400" height="300">

    <param name="SRC" value="{content}">

    <param name="CONSOLE" value="Clip1">

    <param name="CONTROLS" value="imagewindow">

    <param name="AUTOSTART" value="true">

</object>

<br>

<object classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" height="32" id="video2" width="400">

    <param name="SRC" value="{content}">

    <param name="AUTOSTART" value="-1">

    <param name="CONTROLS" value="controlpanel">

    <param name="CONSOLE" value="Clip1">

</object>

RM without Video 代码

<embed name="rplayer" type="audio/x-pn-realaudio-plugin" src="{content}" controls="ControlPanel,StatusBar" width="460" height="68" border="0" autostart="true" loop="true"></embed>

FLASH 代码

<object codebase="http://download.macromedia.com/pub/shockwave/cabs/

flash/swflash.cab#version=4,0,2,0"    classid="clsid:D27CDB6E-AE6D-11cf-

96B8-444553540000" width="500" height="400">

    <param name="movie" value='{content}'>

    <param name="quality" value="high">

<embed src='{content}' quality="high" pluginspage="img"

align="absmiddle" src="pic/url.gif">

<a target=_blank href=http://www.macromedia.com/shockwave/

download/index.cgi?P1_Prod_Version=ShockwaveFlash'>

http://www.macromedia.com/shockwave/download/index.cgi?

P1_Prod_Version=ShockwaveFlash'></a>

type='application/x-shockwave-flash' width=500 height=400>http://

</embed>

</object>

MOV(QuickTime) 代码

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="420" height="276"    codebase="http://www.apple.com/qtactivex/

qtplugin.cab#version=6,0,2,0">

    <param name="controller" value="TRUE">

    <param name="type" value="video/quicktime">

    <param name="autoplay" value="true">

    <param name="target" value="myself">

    <param name="src" value="{content}">

<param name="pluginspage" value="http://www.apple.com/quicktime/

download/indext.html">

<embed width="420" height="276" controller="TRUE" target="myself"

src="{content}" type="video/quicktime" bgcolor="#000000" border="0"

pluginspage="http://www.apple.com/quicktime/download/indext.html">

</embed>

</object>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值