为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Additional plugins are required to display all the media on this page; when I'm trying to use code to embed a song

  • 6 个回答
  • 288 人有此问题
  • 21 次查看
  • 最后回复者为 211ssw

more options

I'm trying to build a web site using notepad. I attempted to embed a song in the head area so that nobody can stop the song from playing, etc. It's an mp3 file, but when I embed it states that additional plugins are required to display all the media on this page.

I then went and updated adobe flash, shockwave, reader. I updated realplayer, media player, java, quicktime, etc. Still no results! I'm all but sure I'm coding this correctly.

I'm trying to build a web site using notepad. I attempted to embed a song in the head area so that nobody can stop the song from playing, etc. It's an mp3 file, but when I embed it states that additional plugins are required to display all the media on this page. I then went and updated adobe flash, shockwave, reader. I updated realplayer, media player, java, quicktime, etc. Still no results! I'm all but sure I'm coding this correctly.

所有回复 (6)

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.

http://forums.mozillazine.org/viewforum.php?f=25

You'll need to register and login to be able to post in that forum.

more options

Can you post a link to that site or the code ?

MP3 files are usually played with the QuickTime plugin, unless you specify a MIME type to select a specific plugin. For WMP you can use type="application/x-mplayer2"

more options

Here is the code:

<object data="superchargers.mp3" type="audio/mp3"> <param name="src" value="superchargers.mp3" autostart="true" hidden="true" loop="false" /> </object>

I was also trying to use this code which left a big box on the page: <embed src="superchargers.mp3" autostart="true" hidden="true" loop="false" />

If I use type as the windows media player would that mean that any computer that does not have that media player installed could not play the song? I will try this right now.

more options

Hi cor-el,

Your type attribute worked. My only question is now.....will it work for everyone? Will they have to have WMP downloaded? Unfortunately, the site is not live yet so no way to tell except on knowledge.

more options

It will only work if you have a plugin installed and enabled that support the specified MIME type. Otherwise you will get an alert about a missing plugin. WMP or a plugin that supports "application/x-mplayer2" is usually more common then a plugin like QuickTime that supports more MIME types like "audio/mp3". If you do not specify a MIME type then the result in unpredictable.

You can see all supported MIME types on the about:plugins page.

more options

is it fair to assume that these other questions also are addressing Android issues? I'm finding it impossible to solve this problem. when I use the computer for larger screen, easier reading, quickly, questions start to be about how the changes will effect computer rather than phone. My issue is for phone & tired of always seeing grayed areas that cannot be displayed because plugin is missing. That I would not disregard for 1 day but this phone issue has been a long one..