Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
JW Player 6 support responsive layout (see http://www.longtailvideo.com/support/jw-player/32427/responsive-design-s...). This is done by setting a percentage based width and an aspect ratio instead of pixels based width and height.
Proposed resolution
Add support for responsive layout in presets. When the responsive layout is selected, the width field should be threaded as % and the height field should be replaced by an aspect ratio one. Ideally known aspect ratio should be offered in a select. A 'custom' option should be provided, the custom option would add a textfield to enter a custom value.
Comment | File | Size | Author |
---|---|---|---|
#3 | jw_player-responsive_design-2183119-3.patch | 4.19 KB | pbuyle |
Comments
Comment #1
pbuyle CreditAttribution: pbuyle commentedComment #2
pbuyle CreditAttribution: pbuyle commentedThe attached patch implements the suggested resolution, but without a list of known aspect ratio.
Comment #3
pbuyle CreditAttribution: pbuyle commentedI missed a LoC in the first patch.
Comment #5
pbuyle CreditAttribution: pbuyle commented