admin管理员组文章数量:1311266
I'm really puzzled how this is not working, but the video just wont auto start for some reason, am I doing something wrong? the embedded code is for flash playback
<object width="600" height="409">
<param name="movie" value=".swf"></param>
<param name="flashvars" value="src=http%3A%2F%2Fwww.domain%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=".swf"
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" autoPlay="true"
width="600" height="409" flashvars="src=http%3A%2F%2Fwww.domain%2Fvideo%2Ftest%2F<?php echo $video;?>">
</embed>
</object>
I'm really puzzled how this is not working, but the video just wont auto start for some reason, am I doing something wrong? the embedded code is for flash playback
<object width="600" height="409">
<param name="movie" value="http://fpdownload.adobe./strobe/FlashMediaPlayback.swf"></param>
<param name="flashvars" value="src=http%3A%2F%2Fwww.domain.%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./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.%2Fvideo%2Ftest%2F<?php echo $video;?>">
</embed>
</object>
Share
Improve this question
edited Jan 20, 2013 at 17:55
user1559811
asked Jan 20, 2013 at 16:47
user1559811user1559811
4494 gold badges12 silver badges26 bronze badges
2 Answers
Reset to default 3Try to put autoPlay=true
in the flashvars
param to send this param to swf file:
<param name="flashvars" value="src=http%3A%2F%2Fwww.domain.%2Fvideo%2Ftest%2F<?php echo $video;?>&autoPlay=true"></param>
I have tested, it's work.
Remember to change the flashvars
attribute in <embed>
tag, too =)
;?>&auto=TR" (not autoPlay only AUTO!)>
本文标签: javascriptget embeded flash to autoPlayStack Overflow
版权声明:本文标题:javascript - get embeded flash to autoPlay - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741853215a2401190.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论