Project

General

Profile

Actions

Feature proposal #4921

closed

Implement video/audio percent width/height support

Added by krileon about 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09 December 2014
Due date:
% Done:

100%

Estimated time:

Description

Implement support for percent based sizes instead of strict integer based sizes. Alternatively implement CSS for max-width to prevent the video/audio fields from expanding outside of their container.

https://www.joomlapolis.com/forum/255-developer-members-support/227575-video-dynamic-resizing

Actions #1

Updated by beat almost 10 years ago

  • Target version changed from CB 2.0.5 to CB 2.0.6
Actions #2

Updated by krileon almost 10 years ago

This is implemented in CB Gallery already. The way the width should be done is add 100% width and 100% height through inline style AND the attributes. Next place the audio/video tag in a container div that sets an inline max-width to whatever width the admin has specified. This makes the player completely responsive.

Actions #3

Updated by beat almost 10 years ago

  • Target version changed from CB 2.0.6 to CB 2.0.7
Actions #4

Updated by beat almost 10 years ago

  • Target version changed from CB 2.0.7 to CB 2.0.8
Actions #5

Updated by krileon over 9 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !845

Actions #6

Updated by beat over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF