嵌入 flash Wimpy 播放器,使其在 Firefox 中运行
有人可以帮助我让 Wimpy 播放器在 Firefox 中工作吗? 我按照 Wimpy 文档页面 中的指南进行操作,但仍然一无所获。
对于测试,我使用相同的 HTML 代码来嵌入不同的 swf 文件,并且效果完美。 难道是SWF文件本身损坏了? 那为什么它在 IE 上运行得很好呢?
这是一个包含两个 Flash 对象的测试 HTML 代码。 左边的是Wimpy,另一个只是一个例子。 目前只有正确的一个出现。
这是我用来嵌入它的代码:
<object width="185" height="292" id="wimpy" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0">
<param name="allowscriptaccess" value="always"></param>
<param name="allownetworking" value="all"></param>
<param name="movie" value="http://www.blastbeat.tv/upload/mp3s/wimpy.swf"></param>
<param name="loop" value="false"></param>
<param name="menu" value="false"></param>
<param name="quality" value="high"></param>
<param name="scale" value="noscale"></param>
<param name="align" value="center"></param>
<param name="salign" value="lt"></param>
<param name="bgcolor" value="ffffff"></param>
<param name="wmode" value="transparent"></param>
<param name="flashvars" value="wimpyApp=http://www.blastbeat.tv/upload/mp3s/wimpy.sql.ed.php&wimpySkin=http://www.blastbeat.tv/upload/mp3s/skin_blackpod8.xml&useMysql=yes&queryValue=21&queryWhere=user_id&startPlayingOnload=no&randomOnLoad=yes&loopPlaylist=all&popUpHelp=no&trackPlays=http://www.blastbeat.tv/upload/mp3s/trackscript.php&scrollInfoDisplay=yes"></param>
<embed width="185" height="292" scale="noscale" src="http://www.blastbeat.tv/upload/mp3s/wimpy.swf"
allowscriptaccess="always"
allownetworking="all"
loop="false"
menu="false"
quality="high"
scale="noscale"
align="center"
salign="lt"
bgcolor="ffffff"
wmode="transparent"
flashvars="wimpyApp=http://www.blastbeat.tv/upload/mp3s/wimpy.sql.ed.php&wimpySkin=http://www.blastbeat.tv/upload/mp3s/skin_blackpod8.xml&useMysql=yes&queryValue=21&queryWhere=user_id&startPlayingOnload=no&randomOnLoad=yes&loopPlaylist=all&popUpHelp=no&trackPlays=http://www.blastbeat.tv/upload/mp3s/trackscript.php&scrollInfoDisplay=yes"
name="wimpy"
type="application/x-shockwave-flash"
></embed>
Can somebody help me getting Wimpy player to work in Firefox? I followed the guide from Wimpy documentation page and am still getting nowhere.
For tests, I used the same HTML code to embed different swf file and it works perfectly. Could it be the SWF file corrupted itself? Then why it works fine on IE?
Here is a test HTML code with two flash objects. The left one is Wimpy and the other is just an example. Currently only the right one shows up.
This is the code I use to embed it:
<object width="185" height="292" id="wimpy" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0">
<param name="allowscriptaccess" value="always"></param>
<param name="allownetworking" value="all"></param>
<param name="movie" value="http://www.blastbeat.tv/upload/mp3s/wimpy.swf"></param>
<param name="loop" value="false"></param>
<param name="menu" value="false"></param>
<param name="quality" value="high"></param>
<param name="scale" value="noscale"></param>
<param name="align" value="center"></param>
<param name="salign" value="lt"></param>
<param name="bgcolor" value="ffffff"></param>
<param name="wmode" value="transparent"></param>
<param name="flashvars" value="wimpyApp=http://www.blastbeat.tv/upload/mp3s/wimpy.sql.ed.php&wimpySkin=http://www.blastbeat.tv/upload/mp3s/skin_blackpod8.xml&useMysql=yes&queryValue=21&queryWhere=user_id&startPlayingOnload=no&randomOnLoad=yes&loopPlaylist=all&popUpHelp=no&trackPlays=http://www.blastbeat.tv/upload/mp3s/trackscript.php&scrollInfoDisplay=yes"></param>
<embed width="185" height="292" scale="noscale" src="http://www.blastbeat.tv/upload/mp3s/wimpy.swf"
allowscriptaccess="always"
allownetworking="all"
loop="false"
menu="false"
quality="high"
scale="noscale"
align="center"
salign="lt"
bgcolor="ffffff"
wmode="transparent"
flashvars="wimpyApp=http://www.blastbeat.tv/upload/mp3s/wimpy.sql.ed.php&wimpySkin=http://www.blastbeat.tv/upload/mp3s/skin_blackpod8.xml&useMysql=yes&queryValue=21&queryWhere=user_id&startPlayingOnload=no&randomOnLoad=yes&loopPlaylist=all&popUpHelp=no&trackPlays=http://www.blastbeat.tv/upload/mp3s/trackscript.php&scrollInfoDisplay=yes"
name="wimpy"
type="application/x-shockwave-flash"
></embed>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我强烈建议使用 swfobject,它负责检测 Flash 播放器,嵌入该浏览器的正确代码,为您提供了一种提供后备内容的好方法。 而且,它在你的代码中看起来会更干净!
就像这样:
I would very much recommend using swfobject, that takes care of detecting the flash player, embedding the proper code for that browser and gives you a nice way to provide fallback content. Also, it'll look alot cleaner in your code!
Like so:
事实证明,我使用的 Wimpy 播放器版本有点过时,无法与 Flash 10 配合使用。这是来自他们的支持页面:
从次要版本号升级是免费的。 升级后,Wimpy 又恢复运行了。
It turned out that Wimpy player version I used was slightly outdated and wouldn't work with Flash 10. This is from their support page:
Upgrade from minor version number is free. After upgrading Wimpy is back again in operation.