Task #13459
Make media player responsive in sizing
Status: | Verified | Start date: | 01/13/2021 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Digital object | |||
Target version: | Release 2.6.3 | |||
Google Code Legacy ID: | Tested version: | |||
Sponsored: | No | Requires documentation: | No |
Description
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.
History
#1 Updated by Dan Gillean over 1 year ago
#2 Updated by José Raddaoui Marín over 1 year 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.
#3 Updated by Dan Gillean about 1 year ago
- Target version changed from Release 2.7.0 to Release 2.6.3
#4 Updated by Sarah Mason about 1 year ago
- Status changed from QA/Review to Verified
Verified.
-Sarah M.