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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pbuyle’s picture

Issue summary: View changes
pbuyle’s picture

Status: Active » Needs review
FileSize
4.14 KB

The attached patch implements the suggested resolution, but without a list of known aspect ratio.

pbuyle’s picture

I missed a LoC in the first patch.

  • mongolito404 committed 8190908 on 7.x-2.x
    Issue #2183119: Support JW Player 6 responsive layout (% based width and...
pbuyle’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.