Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Why doesn't Firefox play background audio in webpages?

  • 2 respostas
  • 2 têm este problema
  • 1 visualização
  • Última resposta de cor-el

more options

I added a background music file to my webpage using FrontPage 2000. The audio will play in the "Preview" tab in but will not play in the Firefox browser window. <bgsound src="http://www.Your-Daily-Income.com/TVS/Audio/waves.mp3" loop="-1"> When I view the page source (http://screencast.com/t/w0p7Z2iLvMi0), and click on the hyperlinked "bgsound src" file I get this: (http://screencast.com/t/D49tu8NsKPH) Any help is appreciated. JMAC

I added a background music file to my webpage using FrontPage 2000. The audio will play in the "Preview" tab in but will not play in the Firefox browser window. <bgsound src="http://www.Your-Daily-Income.com/TVS/Audio/waves.mp3" loop="-1"> When I view the page source (http://screencast.com/t/w0p7Z2iLvMi0), and click on the hyperlinked "bgsound src" file I get this: (http://screencast.com/t/D49tu8NsKPH) Any help is appreciated. JMAC

Solução escolhida

BGSOUND is not compatible with other browsers like Firefox and only works in IE.

You need to use other ways like an embed or object element for older browsers or the audio tag for recent browsers.

If you use type="application/x-mplayer2" then the Windows Media Player will be used to play the file. Without a specific type attribute the QuickTime plugin will be used on Windows.

<object data="http://www.your-daily-income.com/TVS/Audio/waves.mp3" type="application/x-mplayer2" >
<audio src="http://www.your-daily-income.com/TVS/Audio/waves.mp3" controls>
Ler esta resposta 👍 1

Todas as respostas (2)

more options

This screencast link replaces "page source" link in my original question: http://screencast.com/t/IFGQb4vW2jwK

more options

Solução escolhida

BGSOUND is not compatible with other browsers like Firefox and only works in IE.

You need to use other ways like an embed or object element for older browsers or the audio tag for recent browsers.

If you use type="application/x-mplayer2" then the Windows Media Player will be used to play the file. Without a specific type attribute the QuickTime plugin will be used on Windows.

<object data="http://www.your-daily-income.com/TVS/Audio/waves.mp3" type="application/x-mplayer2" >
<audio src="http://www.your-daily-income.com/TVS/Audio/waves.mp3" controls>

Alterado por cor-el em