0

我真的很困惑这怎么不起作用,但是由于某种原因视频不会自动启动,我做错了什么吗?嵌入式代码用于 Flash 播放

<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>
4

2 回答 2

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>

于 2013-01-20T18:51:36.150 回答
0

;?>&auto=TR"(不是自动播放,只有AUTO!)>

于 2014-05-04T07:35:03.153 回答