#3909 - Default width/height does not work well for audio

Identifier #3909
Issue type Minor issue (breaks specific functionality)
Title Default width/height does not work well for audio
Status Completed
Handling member Chris Graham
Addon galleries
Description The gallery system injects a default width/height if it cannot detect one for a 'video' (which may not actually be a video).

In the case of an audio file this means it is displayed poorly.

Detect the situation of attempting to render an audio media item with the configured default video width/height and revert it to a more sensible display width/height for an audio file.
Steps to reproduce

Additional information It's tricky to think how to solve this well.

We could make the video layer not set width/height for non-videos, but at the same time we want it to default for media it does not know about (which audio is a part of).

I think the fix is fairly sensible in that we handle it at the display layer, which does know more about the media than the video system does.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated