当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、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.

詳しく学ぶ

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

Cannot play sound from https link

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

more options

I'd like to ask why we cannot play integrated sound on a web page when the sound file (.wav format) is located with https url link. From the same web page, the sound can be played well with Internet Explorer.

Thanks a lot for your support.

I'd like to ask why we cannot play integrated sound on a web page when the sound file (.wav format) is located with https url link. From the same web page, the sound can be played well with Internet Explorer. Thanks a lot for your support.

すべての返信 (3)

more options

Can you post a link if the page doesn't require authentication or otherwise paste the relevant in a post?

Are you using an OBJECT or EMBED tag to play that .wav file or an AUDIO tag?

more options

Hi,

Here is the javascript code we used for playing sound in background.

 <script type="text/javascript">
 var DIV_beepSoundContainer = new div("beepSoundContainer","","");
 guiOMPage.addElement(DIV_beepSoundContainer);
      </script><div id="beepSoundContainer" class="" style="" onmouseover="" onmouseout="" onclick=""><object type="application/x-mplayer2" height="0" width="0"><param name="fileName" value="https://www.telephoniemobiles-standard.test.orange-business.com/console/standard/login/help/Btelm/beep1.wav"><param name="AutoStart" value="true"><param name="PlayCount" value="1"></object></div><script type="text/javascript">
 DIV_beepSoundContainer.init();
      </script>


Unfortenately, I could not give you the page web & use case where the sound should be played (authentication required). Again, the sound is played well with Internet Explorer.

If I replace the link by http://..., the sound works well.

Do you know any limitation of Mozilla related to the use of https?

Thanks a lot for your help.

Regards

この投稿は cor-el により に変更されました

more options

For Firefox you need to specify the file name as a data attribute in the OBJECT tag


<object 
 data="https://www.telephoniemobiles-standard.test.orange-business.com/console/standard/login/help/Btelm/beep1.wav" 
 type="application/x-mplayer2" height="0" width="0">
 <param name="fileName" value="https://www.telephoniemobiles-standard.test.orange-business.com/console/standard/login/help/Btelm/beep1.wav">
 <param name="AutoStart" value="true">
 <param name="PlayCount" value="1">
</object>