搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

FF suddenly won't show audio controls. I noticed the element shows the control for an audio ogg as video and has: video autoplay="" controls="true".

  • 4 回覆
  • 5 有這個問題
  • 1 次檢視
  • 最近回覆由 KeepSmiling

more options

Suddenly during a session, the controls for an audio ogg are gone. I inspected the element and see the file is being played as a video.

html head … /head body video autoplay="" controls="true" /video /body /html

In my own musings with html5 audio where I use an audio control, no problem. Made me wonder how ff knows the difference between audio and video. Any suggestions on how to get a straight ogg audio converted from an mp3 to show controls?

Thanks  : )

Suddenly during a session, the controls for an audio ogg are gone. I inspected the element and see the file is being played as a video. html head … /head body video autoplay="" controls="true" /video /body /html In my own musings with html5 audio where I use an audio control, no problem. Made me wonder how ff knows the difference between audio and video. Any suggestions on how to get a straight ogg audio converted from an mp3 to show controls? Thanks : )

由 KeepSmiling 於 修改

所有回覆 (4)

more options

There's been several questions lately, addressing similar problems:

A bug has been reported as follows

Bug 890516 - Embedded audio stopped working after installing FF 22

Mentioning this just in case - maybe a problem and its solution are outside this scope.

由 smo 於 修改

more options

Did you check the right-click context menu?

Reset the page zoom on pages that cause problems.

  • View > Zoom > Reset (Ctrl+0 (zero); Command+0 on Mac)

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).

  • Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
more options

Thanks for the input. I did reset zoom. No effect. I did look at the right-click context menu. I tried toggling the Hide Controls. No effect. The local ogg audios I'm playing start fine, play fine and will replay when page refreshed. Just, the controls don't display. The page is dark grey with the shadow box around where the controls should be. The element is an absolute positioned element. Perhaps layering and z index? The page source is gleep. Lots of diamonds with ?????

more options

For what it's worth: Under Tools/Page Info under General I see:

Address: correct information Type: video/ogg Render Mode: Quirks mode Encoding: windows-1252 Modified: a date

In the Meta region: viewport width=device-width; height=device-height;

On the Media tab I see in the address region:

data:img/png;base64, andthenareallylongnumber whose type is Background. Next line: File:///correct info whose type is Video. In the next region, when the data:img is selected I see: Location: andthenthereallylongnumber. Type: PNG Image Size: Unknown (not cached) Dimensions: 88px × 88px

Media Preview: region is blank.

When the file name is selected: Location: correct location Type: Video Size: Unknown (not cached) Dimensions: 0px × 0px

Now, in the media preview region, the audio control shows and works just fine.