加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

dw中插入视频的代码

(2008-02-28 13:34:07)
标签:

教育技术

dw网页制作

教育

边做边学,可有的还是不会,以下为代码,有的地方需要修改。 
avi格式

<object classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95
codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 height=180 type=application/x-oleobject width=240
VIEWASTEXT standby="加载 Microsoft Windows Media Player 组件...">
<param value="">
<param value="true">
<param value="-1">
<param value="false">
<param value="false">
<param value="false">
<param value="true">
<param value="false">
<param value="0">
<param value="false">
<param value="0">
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" filename src
enablecontextmenu="false"
clicktoplay="false"
enablepositioncontrols="false"
showcontrols="0" showstatusbar="1"
showdisplay="0" width="240" height="180">
</embed>
</object>

或者


<object width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<param value="0">
<param value="1">
<param value="1">
<param value="0">
<param value="0">
<param value="0 value=""">
<param value="0 value=""">
<param value="240">
<param value="320">
<param value="file:///D|/work/vod/Mbar.avi">
<embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="file:///D|/work/vod/Mbar.avi" src="Mbar.avi">
</embed>
</object>

2.mpg格式

<object classid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A" width="239" height="250">
<param value="0">
<param value="-1">
<param value="-1">
<param value="0">
<param value="-1">
<param value="-1">
<param value="0">
<param value="0">
<param value="0">
<param value="16777215">
<param value="0">
<param value="-1">
<param value="-1">
<param value="-1">
<param value="0">
<param value="-1">
<param value="../../../mpeg/halali.mpg" valuetype="ref">
<param value="0">
<param value="0">
<param value="1">
<param value="1">
<param value="-1">
<param value="-1">
<param value="-1">
<param value="-1">
<param value="0">
<param value="-1">
<param value="-480">
</object>


3.smi格式

<OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA width=240
height=180>
<param value="6350">
<param value="4763">
<param value="-1">
<param value="0">
<param value="0">
<param value="-1">
<param value="rm.rm">
<param value="ImageWindow">
<param value="console1">
<param value="0">
<param value="0">
<param value="0">
<param value="0">
<param value="#000000"><embed src="real.smi" type="audio/x-pn-realaudio-plugin" console="Console1" controls="ImageWindow" height="180" width="240" ></OBJECT>

4.rm格式

<OBJECT CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=288 WIDTH=352>
<param value="9313">
<param value="7620">
<param value="0">
<param value="0">
<param value="0">
<param value="0">
<param value="rtsp://203.207.131.35/vod/dawan-a.rm";;>
<param value="ImageWindow">
<param value="Clip1">
<param value="0">
<param value="0">
<param value="0">
<param value="0">
<param value="#000000"><embed SRC type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow" HEIGHT="288" WIDTH="352" >
</OBJECT>

5.wmv格式

<object width=200 height=180 classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 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" align="right" hspace="5">
<!-- ASX File Name -->
<param value=1>
<param value="xxxxxx.wmv">
<!-- Display Controls -->
<param value="1">
<!-- Display Position Controls -->
<param value="0">
<!-- Display Audio Controls -->
<param value="1">
<!-- Display Tracker Controls -->
<param value="0">
<!-- Show Display -->
<param value="0">
<!-- Display Status Bar -->
<param value="0">
<!-- Diplay Go To Bar -->
<param value="0">
<!-- Display Controls -->
<param value="0">
<!-- Player Autostart -->
<param value=1>
<!-- Animation at Start -->
<param value="-2500">
<param value="0">
<!-- Transparent at Start -->
<param value="0">
<!-- Do not allow a change in display size -->
<param value="0">
<!-- Do not allow scanning -->
<param value="0">
<!-- Do not show contect menu on right mouse click -->
<param value="0">
<!-- Do not allow playback toggling on mouse click -->
<param value="0">
</object>

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有