unl / UNL_MediaHub

A media aggregator for educational institutions
http://mediahub.unl.edu/
MIT License
11 stars 13 forks source link

Audio player background too large on mobile devices #516

Open erinchambers opened 1 month ago

erinchambers commented 1 month ago

The audio player's styling results in a large black rectangle in the background that doesn't match the size of the player itself. It's device-related rather than screen-width-related, I think. On desktop, it looks fine; on mobile phones it looks like the screenshot below.

Here's a screenshot taken in Safari on iOS:

ios-safari

Tested in

tommyneu commented 1 month ago

Looks like the styles for that are being applied here in the code https://github.com/unl/UNL_MediaHub/blob/master/www/templates/html/MediaPlayer/v3/player.tpl.php#L45