当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Firefox wont show "Play Tune" button in NetSuite Website

  • 5 件の返信
  • 1 人がこの問題に困っています
  • 3 回表示
  • 最後の返信者: cor-el

more options

Our company has an Ecommerce store created in NetSuite named Sanfrancisco Music Box. Because we sell music boxes, musical carousels and water globes, we have the tune in a "Play Tune" field where customers can hear the tune the product plays prior to making a purchase. So this is a very important element to our website.

The problem is that the "Play Tune" button shows up in IE and Chrome, but not in FireFox. It shows a long grey box where the play button should be, but no play button. I have tested this with various co-workers who have tried to view the product and play the tune in FireFox. It is the same outcome and same grey box.

Things I have tried is adding the Windows Media Player plugin and testing the play button in other browsers. The play button is in an embed tag and from all the research I've done about this, it should show the button.

You can view the same item we have been testing at the following address:

http://www.sanfranciscomusicbox.com/item-type/music-boxes/Available-July-2012-Byerley-Sound-of-the-Ocean-Music-Box

Thanks

~Joe Randolph

Our company has an Ecommerce store created in NetSuite named Sanfrancisco Music Box. Because we sell music boxes, musical carousels and water globes, we have the tune in a "Play Tune" field where customers can hear the tune the product plays prior to making a purchase. So this is a very important element to our website. The problem is that the "Play Tune" button shows up in IE and Chrome, but not in FireFox. It shows a long grey box where the play button should be, but no play button. I have tested this with various co-workers who have tried to view the product and play the tune in FireFox. It is the same outcome and same grey box. Things I have tried is adding the Windows Media Player plugin and testing the play button in other browsers. The play button is in an embed tag and from all the research I've done about this, it should show the button. You can view the same item we have been testing at the following address: http://www.sanfranciscomusicbox.com/item-type/music-boxes/Available-July-2012-Byerley-Sound-of-the-Ocean-Music-Box Thanks ~Joe Randolph

すべての返信 (5)

more options

That is an embed tag that plays a type="audio/wav" .wav file. You need a plugin like QuickTime that supports this content type. It would be best though to use a file type that can be played natively by the HTML5 media player. Then no plugin would be needed.

With this .wav file the browser console shows this error message.

Media resource http://www.sanfranciscomusicbox.com/site/media/tunes/PearlyShells.wav could not be decoded.

See also;


<embed height="20" width="250" controller="true" controls="playbutton" wmode="opaque" loop="false" autoplay="false" autostart="false" src="/site/media/tunes/PearlyShells.wav" type="audio/wav"></embed>
more options

I know the .wav has to have the Quicktime plugin. However, I have changed it to .mp3 prior to contacting you guys and that didn't work either. Even after I installed the Windows Media Player plugin. I changed the media file to a .mp3 again so you can view and inspect the element. In addition, I have added a screenshot of the tag. You can go to the link and still see the non-existent "Play Tune" button.

http://www.sanfranciscomusicbox.com/item-type/music-boxes/Available-July-2012-Byerley-Sound-of-the-Ocean-Music-Box

more options

That file is send as Content-Disposition:

  • Content-Disposition: attachment;filename*=utf-8PearlyShells.mp3
  • Content-Type: audio/mpeg

With an embed this would still require QuickTime.

It works for me with the built-in HTML5 media player and the audio tag to play the MP3 file without using a plugin.

You can test that with this data URI via the location/address bar:

data:text/html,<audio src="http://sanfranciscomusicbox.com/site/media/tunes/PearlyShells.mp3" controls>
more options

Do you actually see the "Play Tune" button in Firefox because we don't. Yes, we know it plays if you go to the actual URL, however, the issue is that Firefox is not displaying the "Play Tune" button. It is just greyed out. See attached screenshot.

more options

I can't play the file with a plugin as this doesn't work for me on Linux, but the absence of player controls means that no player is loaded. Your screenshot didn't include the location bar, so I do not know if a plugin Lego block is present.

If I modify the page code to use an audio element then the file plays with the HTML5 media player.