我真的很困惑这是怎么回事,但视频因为某些原因不会自动启动,我做错了什么?嵌入代码用于闪存播放
<object width="600" height="409">
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param>
<param name="flashvars" value="src=http%3A%2F%2Fwww.domain.com%2Fvideo%2Ftest%2F<?php echo $video;?>"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<param name="autoPlay" value="true"></param>
<embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" autoPlay="true"
width="600" height="409" flashvars="src=http%3A%2F%2Fwww.domain.com%2Fvideo%2Ftest%2F<?php echo $video;?>">
</embed>
</object>
答案 0 :(得分:3)
尝试将autoPlay=true
放入flashvars
参数中以将此参数发送到swf文件:
<param name="flashvars" value="src=http%3A%2F%2Fwww.domain.com%2Fvideo%2Ftest%2F<?php echo $video;?>&autoPlay=true"></param>
我已经测试过,这是工作。
请务必更改flashvars
代码中的<embed>
属性,也=
答案 1 :(得分:0)
;?&GT;&安培;汽车= TR&#34; (不是仅自动播放自动!)&gt;