2013-01-20 73 views
0

我真的很困惑這是如何不工作,但視頻不會自動啓動,出於某種原因,我做錯了什麼?嵌入的代碼是閃存播放得到嵌入式閃光燈自動播放

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

回答

3

儘量把autoPlay=trueflashvars參數去發送這個參數去SWF文件:

<param name="flashvars" value="src=http%3A%2F%2Fwww.domain.com%2Fvideo%2Ftest%2F<?php echo $video;?>&autoPlay=true"></param> 

我已經測試,它的工作。

記住要改變flashvars屬性在<embed>標籤,太=)

+0

謝謝你,是的,對我來說工作壓力太大了! – user1559811

0

;?> &自動= TR」(未將autoPlay只有AUTO)>