Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Firefox (118) does not play certain audio files

  • 9 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от Kaj

more options

I have found that Firefox does not play some audio files, for instance on Wikipedia and WaniKani, such as the audio on https://en.wikipedia.org/wiki/Erhu and https://www.wanikani.com/vocabulary/%E9%9F%B3. When inspecting network activity I can see that an attempt is made to load the audio on Wikipedia, but it does not play. On WaniKani however, no attempt is made. (WaniKani uses .webm for sound, maybe that has something to do with it?) The problem appeared after the update to Firefox 118 and persists in private browsing and troubleshooting mode, but does not occur in GNOME Web.

I have found that Firefox does not play some audio files, for instance on Wikipedia and WaniKani, such as the audio on https://en.wikipedia.org/wiki/Erhu and https://www.wanikani.com/vocabulary/%E9%9F%B3. When inspecting network activity I can see that an attempt is made to load the audio on Wikipedia, but it does not play. On WaniKani however, no attempt is made. (WaniKani uses .webm for sound, maybe that has something to do with it?) The problem appeared after the update to Firefox 118 and persists in private browsing and troubleshooting mode, but does not occur in GNOME Web.

Избрано решение

Update: I have fixed the issue myself. Switching media.ffvpx.enabled in about:config back on fixed the issue. I honestly have no clue as to why a toggle related to VP8/9 video codecs affects audio, but it fixed the issue.

Прочетете този отговор в контекста 👍 1

Всички отговори (9)

more options

They both work for me on Ubuntu 23.04 (ogg and webm respectively).

Install ffmpeg:

sudo apt install ffmpeg

or

flatpak install org.freedesktop.Platform.ffmpeg-full

Pick the flatpak runtime that matches firefox (flathub currently uses 22.08).

more options

Update to 118.0.2 since there was a fix related to these formats.

more options

zeroknight said

Update to 118.0.2 since there was a fix related to these formats.

Looks like 118.0.2 has not yet made its way to the Fedora repos. Well, now I know it'll be fine, thank you!

more options

Update: 188.0.2 landed in the Fedora repos, sadly the issue still persists...

more options

Can you play the file in a tab using a data URI:

data:text/html,<audio src="https%3A%2F%2Ffiles.wanikani.com%2Fmin88pyizg5vgfiyyyf9y4cmce0y" controls>
more options

cor-el said

Can you play the file in a tab using a data URI: data:text/html,<audio src="https%3A%2F%2Ffiles.wanikani.com%2Fmin88pyizg5vgfiyyyf9y4cmce0y" controls>

Going to https://files.wanikani.com/2Fmin88pyizg5vgfiyyyf9y4cmce0y only gives an xml file without any style information in both Firefox as well as GNOME Web:

<Error> AccessDenied <Message>Access Denied</Message> <RequestId>D13GCF481VJVW3ZJ</RequestId> <HostId> ePG84W7jh9Cd4RCyUs1/jw3yTyYdTu28Lct5gtLDLIRWLX+D3VCnT6zPuSN9aDfV7cD60VOqy70= </HostId> </Error>

If I go to https://upload.wikimedia.org/wikipedia/commons/3/30/%E6%B1%9F%E6%B2%B3%E6%B0%B4.ogg it does load the file, as the bar is buffering, however it simply does not play.

more options

The point is to paste the full text starting with data: in the location bar and not the URL.

data:text/html,<audio src="https%3A%2F%2Ffiles.wanikani.com%2Fmin88pyizg5vgfiyyyf9y4cmce0y" controls>

This should give you an audio element with a player control.

more options

cor-el said

The point is to paste the full text starting with data: in the location bar and not the URL. data:text/html,<audio src="https%3A%2F%2Ffiles.wanikani.com%2Fmin88pyizg5vgfiyyyf9y4cmce0y" controls> This should give you an audio element with a player control.

Okay thank you for the clarification. Now it gets interesting: this does play fine...

more options

Избрано решение

Update: I have fixed the issue myself. Switching media.ffvpx.enabled in about:config back on fixed the issue. I honestly have no clue as to why a toggle related to VP8/9 video codecs affects audio, but it fixed the issue.