Mp3播放器不在Firefox中播放文件


Mp3 Player Does not play file in Firefox

播放器旨在通过存储在MySQL中的路径地址从服务器检索mp3文件。它在浏览器中执行此操作,但在Firefox中不执行此操作。有人能告诉我为什么吗?顺便说一句,播放器的swf文件和数据库存储在同一台服务器上,所以这应该没有问题。

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="165" height="37" id="niftyPlayer1" align="">
     <param name=movie value="http:..../music/niftyplayer.swf?<?php
$conn = mysql_connect("....", "....", "....");
mysql_select_db ("....");
$query = ("select * from music where music_ID = 1");
$result = mysql_query($query) or die(mysql_error()." ".$query);
while($row = mysql_fetch_array($result))
{
echo 'file=' . $row['content'] . '';
}
mysql_close($conn);
?>
&as=0">
     <param name=quality value=high>
     <param name=bgcolor value=#FFFFFF>
     <embed src="http://..../music/niftyplayer.swf?" quality=high bgcolor=#FFFFFF width="165" height="37" name="niftyPlayer1" align="" type="application/x-shockwave-flash" swLiveConnect="true" pluginspage="http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>

我认为这是因为浏览器的安全性。

尝试使用http://code.google.com/p/swfobject/将闪存添加到页面。

**Issues**
[http://stackoverflow.com/questions/4923136/why-doesnt-firefox-support-mp3-file-format-in-audio][1]
Licensing issues: HTML5 video and H.264 – what history tells us and why we’re standing with the web and Mozilla defends Firefox's HTML5 support for only Ogg Theora video (despite their titles, they both also talk about MP3 licensing, albeit briefly).
All you can do is fall back to Flash and play them through that.