AVI视频文件怎样插入页面播放

unotfish 2006-04-21 08:38:09
我试了这段代码,但没实现

<object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<param name="ShowDisplay" value="0">
<param name="ShowControls" value="1">
<param name="AutoStart" value="1">
<param name="AutoRewind" value="0">
<param name="PlayCount" value="0">
<param name="Appearance value="0 value=""">
<param name="BorderStyle value="0 value=""">
<param name="MovieWindowHeight" value="240">
<param name="MovieWindowWidth" value="320">
<param name="FileName" value="/Mbar.avi">
<embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="/Mbar.avi" src="Mbar.avi">
</embed>
</object>
...全文
574 15 点赞 打赏 收藏 举报
写回复
15 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
unotfish 2006-04-26
dreamweaver里设置下参数,就可以播放了.谢谢各位!
  • 打赏
  • 举报
回复
unotfish 2006-04-25
现在是一点视频的链接,ie就发生错误,关闭,这代码有什么问题吗?

<table width="827" height="660" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#A4C7A5" bgcolor="#EDF2EA">
<tr>
<td height="90" colspan="2" valign="top"><table width="825" height="91" border="0">
<tr>
<td height="87" valign="top" bordercolor="#F9F9F9" background="images/banner.gif" bgcolor="#EDF2EA"> </td>
</tr>
</table></td>
</tr>
<tr valign="top">
<td height="21" colspan="2" background="images/12.gif"><table width="825" border="0">
<tr>
<td width="10"> </td>
<td width="99"><a href="Index.aspx">公司介绍<span class="STYLE47"> About us </span></a></td>
<td width="9">|</td>
<td width="100"><a href="news.aspx">公司新闻 <span class="STYLE47">News </span></a></td>
<td width="9">|</td>
<td width="100"><a href="video.aspx">公司视频 <span class="STYLE47">Video </span></a></td>
<td width="9">|</td>
<td width="100"><a href="product.aspx?id=1">产品展示 <span class="STYLE47">Product </span></a></td>
<td width="9">|</td>
<td width="93"><a href="case.aspx">成功案例 <span class="STYLE47">Case </span></a></td>
<td width="10">|</td>
<td width="109"><a href="message.aspx">客户留言 <span class="STYLE47">Message</span> </a></td>
<td width="10">|</td>
<td width="100"><a href="contact.aspx">联系我们 <span class="STYLE47">Contact</span> </a></td>
</tr>
</table></td>
</tr>
<tr valign="top">
<td height="30" colspan="2"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="824" height="138">
<param name="quality" value="high">
<param name="SRC" value="images/top.swf">
<embed src="images/top.swf" width="824" height="138" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object></td>
</tr>

<tr>
<td width="204" height="399" valign="top"><img src="images/lianx.gif" width="204" height="477"></td>
<td width="617" valign="top" bgcolor="#EDF2EA"><table width="617" height="423" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="83" valign="top"><img src="images/protitle.jpg" width="194" height="83"></td>
</tr>
<tr>
<td height="288" valign="top"><object width="32" height="32">
<embed src="video.mpg" width="32" height="32"></embed>
</object>
</td>
</tr>
<tr>
<td height="52" valign="top"> </td>
</tr><asp:Repeater id="MyRepeater" runat="server"></asp:Repeater>
</table></td>
</tr>
</table>
<table width="829" height="59" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#D4D0C8" bgcolor="#EFEFEF">

</table></td>
</tr>
</table>
  • 打赏
  • 举报
回复
unotfish 2006-04-25
麻烦,看一下www.dolaball.com的公司视频页

我在dreamweaver里加了代码,但是在网页上的源代码处就没看到
<tr>
<td height="52" valign="top"><img src="images/protitle.jpg" width="194" height="83"></td>
</tr><asp:Repeater id="MyRepeater" runat="server"><ItemTemplate>
<tr align="center" valign="top">
<td height="287" align="center" valign="middle"><table width="614" height="300" border="0">
<tr>
<td width="211"><embed src="video.mpg" width="424" height="194" align="absmiddle"></embed></td>
</tr>
</table>
<p> </p></td>
</tr>
  • 打赏
  • 举报
回复
hc99 2006-04-25
<embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="test" src="你的avi文件">
</embed>
这样不行嘛???
怎么我这就能通过呢??
你试了没有
  • 打赏
  • 举报
回复
unotfish 2006-04-24
晚上走的太晚了,发现楼门给锁上了,回不去了.悲惨,饭也没吃呢!
我现在在dreamweaver里,新建一空白的页面,开始试验,插入.mp3文件,点f12,结果就能播放,但是在设计的页面里面,还是不可以看到播放器.真见鬼了!!!
  • 打赏
  • 举报
回复
......dw跟ms的插件兼容不太好,只要网页里有就ok了,谁管你设计界面是啥样啊....舍本逐末...
  • 打赏
  • 举报
回复
unotfish 2006-04-23
我剪辑了下avi文件,转换成mpg格式了,在dreamweaver里,点播放后,Dreamweaver在Configuration/Plugins文件夹和你所安装的浏览器中都找不到该插件" ,如何解决啊
  • 打赏
  • 举报
回复
hc99 2006-04-23
这样也可以的
不行的话直接联系qq:45314596
<object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<param name="ShowDisplay" value="0">
<param name="ShowControls" value="1">
<param name="AutoStart" value="1">
<param name="AutoRewind" value="0">
<param name="PlayCount" value="0">
<param name="Appearance value="0 value="">
<param name="BorderStyle value="0 value="">
<param name="MovieWindowHeight" value="240">
<param name="MovieWindowWidth" value="320">
<param name="FileName" value="随便的一个名">
<param name="src" value="你的avi文件">
</object>
  • 打赏
  • 举报
回复
hc99 2006-04-23
你代码是不是写的全部啊
如下:<object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<param name="ShowDisplay" value="0">
<param name="ShowControls" value="1">
<param name="AutoStart" value="1">
<param name="AutoRewind" value="0">
<param name="PlayCount" value="0">
<param name="Appearance value="0 value=""">
<param name="BorderStyle value="0 value=""">
<param name="MovieWindowHeight" value="240">
<param name="MovieWindowWidth" value="320">
<param name="FileName" value="你的avi文件路径">
<embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="你的avi文件路径" src="你的avi文件路径">
</embed>
</object>

不是那样写
应该是只有这些的:
<embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="随便的一个名" src="你的avi文件">
</embed>
这样要是不行 俺没着了

  • 打赏
  • 举报
回复
chenjunchao 2006-04-23
楼上的代码播放器不了哦
  • 打赏
  • 举报
回复
hc99 2006-04-23
楼主的代码正确!
<object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<param name="ShowDisplay" value="0">
<param name="ShowControls" value="1">
<param name="AutoStart" value="1">
<param name="AutoRewind" value="0">
<param name="PlayCount" value="0">
<param name="Appearance value="0 value=""">
<param name="BorderStyle value="0 value=""">
<param name="MovieWindowHeight" value="240">
<param name="MovieWindowWidth" value="320">
<param name="FileName" value="你的avi文件路径">
<embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="你的avi文件路径" src="你的avi文件路径">
</embed>
</object>
三楼的代码是播放wma格式文件的代码
你再试试吧
  • 打赏
  • 举报
回复
unotfish 2006-04-23
我把avi文件剪辑为mpg文件,插入后还是不能播放,能给点建议吗,谢谢
  • 打赏
  • 举报
回复
unotfish 2006-04-22
我在dreamweaver里开发,想直接插入媒体文件,可是说少插件,下载了一插件,安装后还是没有用,插件就装在dreamweaver的config的plugin下吗
  • 打赏
  • 举报
回复
cyyart 2006-04-21
尝试用这段代码:
<p>
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" width="286" height="225">
<param name="AudioStream" value="-1">
<param name="AutoSize" value="-1">
<param name="AutoStart" value="-1">
<param name="AnimationAtStart" value="-1">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">
<param name="Balance" value="0">
<param name="BaseURL" value>
<param name="BufferingTime" value="5">
<param name="CaptioningID" value>
<param name="ClickToPlay" value="-1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="0">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="0">
<param name="EnableTracker" value="-1">
<param name="Filename" value="F:\电影\余世伟\1.rm">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value>
<param name="SAMIStyle" value>
<param name="SAMIFileName" value>
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="0">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="-1">
<param name="ShowStatusBar" value="0">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="0">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="-600">
<param name="WindowlessVideo" value="0">
</object>
</p>
  • 打赏
  • 举报
回复
什么都不能 2006-04-21
用转换工具转换成rm的,一般播放器对asf和avi等mpeg文件支持性不好
  • 打赏
  • 举报
回复
相关推荐
发帖
ASP
加入

2.8w+

社区成员

ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
申请成为版主
帖子事件
创建了帖子
2006-04-21 08:38
社区公告
暂无公告