Embed player with long title : controls not shown when width is set to a fixed size
Steps to reproduce
- Upload a track with a relatively long title (>80 characters)
- Embed the track with a fixed width (e.g 800px). For height it does not matter : even if you increase default height (150px), you just get a gray background
What happens?
You don't see the controls
What is expected?
You see the widget as expected
Context
You can try with the following file : https://sonotheque.cemea.org/library/tracks/65
Embedded with width=800px
(and height=150px
, the default value) it looks like this :
If I reduce the size of the h1 enough (with dev tools), I can see the controls again, albeit a bit cut off :
Embedded with width=800px
(and height=400px
) it looks like this : (tested on an empty HTML file to make sure nothing is interfering) :
Funkwhale version(s) affected: 1.4.0, 1.4.2
This happens on Firefox 123.0 on Linux, Chromium 121 on Linux, and Firefox 123.0 on Windows.