我正在使用标签在页面上显示我的视频。加载页面后,视频会自动启动。
为了防止这种情况,我使用autostart =“false”。但没有运气。
我的代码:
<embed style="max-width:180px; max-height:135px;" src="url" autostart="false" loop="true">
任何人都可以帮我吗?
答案 0 :(得分:1)
如果它是一个严格的嵌入,通常你只需要把autostart =&#34; false&#34;在embed标签内。
示例强>:
<embed autostart="false">
如果是对象(建议使用),则需要使用参数。
示例强>:
<object width="160" height="144">
<param name="autoplay" value="false">
<embed src="sample.mov" width="160" height="144" autoplay="false" controller="false"
</embed>