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".
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 : )
Изменено
Все ответы (4)
There's been several questions lately, addressing similar problems:
- questions/965376 Wav files won't play in Firefox 22
- questions/965125 Does Firefox 22 no longer permit autoplay of audio/video?
- questions/964476 Background audio not playing after upgrading
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.
Изменено
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.
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 ?????
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.