Page MenuHomePhabricator

Display a fallback link to media file in browsers who fail to play a media file
Open, Needs TriagePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:
Screen flashes. Media does not play. No link to the media (which may allow a user to download and open it with a media player) is provided.

What should have happened instead?:
Provide a link to the media file. There's actually a link in the HTML, but it vanishes when you click play.

Event Timeline

with a browser that can't (or refuses to) play the music.

For future reference, hints what exactly that means are welcome.
Using Firefox 60.9.1 on mobile (I guess that's old enough), I cannot see screen flashing but it infinitely tries to load the music file, showing a status bar animation forever.

Aklapper renamed this task from No good fallback for music sample to Display a fallback link to media file in browsers who fail to play a media file.May 26 2022, 6:41 AM

with a browser that can't (or refuses to) play the music.

For future reference, hints what exactly that means are welcome.
Using Firefox 60.9.1 on mobile (I guess that's old enough), I cannot see screen flashing but it infinitely tries to load the music file, showing a status bar animation forever.

Just disabling all codecs in your browser should do the trick. What happens exactly probably varies from browser to browser since you see no flashing.

The screen flash is very brief: I see a blue progress bar at the top of the page that rapidly fills to (estimation) 20% while the whole page becomes more white. This is the same thing that's seen when starting a video, before the player window overlay is displayed. But with the audio file there's no player window.

Who disables all codecs ???

I don't remember how I broke it, but I broke it. I was kinda relieved because it also made ads shut up, so I left it broken. Sometimes you get a download from websites that otherwise only stream. I recommend it! ;-)

I suspect some employers/libraries/schools may also disable codecs on work machines, either to keep the environment quiet or to discourage wasting time on YouTube/YouPorn/etc. And sometimes things just break. Install one too many codec pack and you're in over your head.