请高手指教DW问题

来源:百度知道 编辑:UC知道 时间:2024/05/16 23:57:03
用DW在网页里插入视频,本地可以F12里可以看到。
在网页地址里打入网址后,就看不到了,我用的是IIS,请指教!
<object id="player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width="300" height="300">
<param name="url" value="h:/js/image/xxyp.avi">
。。。。embed src="h:\js\image\xxyp.avi" width="450" height="380" autostart="true" url="h:\js\image\xxyp.avi" uimode="full" balance="0" currentposition="0" currentmarker="0" enablecontextmenu="false" enableerrordialogs="false" stretchtofit="true" enabled="true" fullscreen="false" invokeurls="false" playcount="1" rate="1" volume="50" showdisplay="false"></embed>
</object>
调用的文件h:/js/xxjj/x

晕.
value="h:/js/image/xxyp.avi"
这样在网上当然是不行的了.
你可以使用网站网址的绝对路径,也可以使用相对路径.
相对路径应该怎么写,就要说你的情况了.

路径问题
应该用相对路径


基础太差了
谁能说明白谁说吧

兄弟你这里"h:\js\image\xxyp.avi"是绝对路径,绝对路径是绝对不可以用的,网页里面任何地方都应该用相对路径

你用的IIS,那你就把你的网站文件放在C:\Inetpub\wwwroot下,这时路径改为../image/xxyp.avi试试

htm 路径 h:\js\xxjj\xxdsp.htm

avi 路径 h:\js\image\xxyp.avi

--------------------------------------------
<object id="player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width="300" height="300">
<param name="url" value="../image/xxyp.avi">
。。。。embed src="../image/xxyp.avi" width="450" height="380" autostart="true" url="../image/xxyp.avi" uimode="full" balance="0" currentposition=&q