When adding an audio element to a website in earlier versions of Firefox, you can set the width of the audio element as follows:
<audio controls style="width: 500px">
<source src="x.mp3" type="audio/mpeg">
</audio>
However, this is now impossible. Regardless of whether I set 500px or 600px, the player always has the same width. This was not a problem in earlier versions of Firefox.
Is there something I did wrong or is it a Firefox bug? In Chrome, for example, everything works.
source
share