我的网页加载时,我的Flash媒体播放器无法自动播放。我已将设置从0更改为1(应自动启动文件),但仍无法自动启动歌曲。这发生在IE,FF和Chrome中。谢谢你的帮助。
<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" width="200" height="20">
<param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3=/NewAYSsite/music/Great_is_Thy_Faithfulness_Crystal_Lewis.mp3&autoplay=0&autoload=1&showstop=1&showvolume=1&bgcolor1=ffa50b&bgcolor2=d07600" />
</object>
答案 0 :(得分:1)
删除autoload=1
并设置autoplay=1
,以便您的代码如下所示:
<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" width="200" height="20">
<param name="movie" value="http%3A//flash-mp3-player.net/medias/player_mp3_maxi.swf" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3=/NewAYSsite/music/Great_is_Thy_Faithfulness_Crystal_Lewis.mp3&autoplay=1&showstop=1&showvolume=1&bgcolor1=ffa50b&bgcolor2=d07600" />
</object>
如果您无法加载mp3,请添加包含http://
答案 1 :(得分:1)
删除autoload=1
并设置autoplay=1
(或设置0
),以便您的代码如下所示:
<i><object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" width="200" height="20">
<param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3=/NewAYSsite/music/Great_is_Thy_Faithfulness_Crystal_Lewis.mp3&autoplay=0&autoload=0&showstop=1&showvolume=1&bgcolor1=ffa50b&bgcolor2=d07600" />
</object></i>