Make media player responsive in sizing
|Target version:||Release 2.6.3|
|Google Code Legacy ID:||Tested version:|
The following minor enhancement has been provided by community user Matt Innes (minnes-archives) as a pull request to the public AtoM project.
Currently, we hard-code the size of the mediaElement media player to 320x240. This leaves the player using far less than the available real-estate on the page, and also prevents the size of the player from adapting responsively based on the available device / screen width.
This issue will instead set the player to use a relative size (style="max-width:100%;"), that will adapt responsively based on the available space of the main body on the view page of a description. A comparison of the new and the previous results has been attached for reference.
#2 Updated by José Raddaoui Marín 8 months ago
- Status changed from New to QA/Review
Addressed in https://github.com/artefactual/atom/commit/c9c0330126d7db48295c80fd196d7a4c125073de with a slightly different solution.
I think it could be targeted for 2.6.2, if that's desired.