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.
In commit http://cgit.drupalcode.org/video_filter/commit/?h=7.x-3.x&id=583e37bfe61... the way the video ratio is calculated was changed.
When a video is added, such as [video:https://www.youtube.com/watch?v=0zo3F7-G9ss] the video is output as a square, adds letter boxing, and does not display at the correct aspect ratio.
Comment | File | Size | Author |
---|---|---|---|
#2 | video_filter-aspect-ratio-2749297-2-D7.patch | 856 bytes | kevincrafts |
Screen Shot 2016-06-15 at 10.27.11 AM.jpg | 321.63 KB | kevincrafts |
Comments
Comment #2
kevincrafts CreditAttribution: kevincrafts commentedApplying the code that used to calculate the aspect ratio back when video does not have a set width or height but ratio is set.
Comment #3
kevincrafts CreditAttribution: kevincrafts commentedfixing issue title.
Comment #4
afinnarn CreditAttribution: afinnarn at University of Colorado Boulder commentedmoving this to RTBC since I applied the patch and it worked as expected.
Comment #5
kevincrafts CreditAttribution: kevincrafts commentedComment #6
DamienMcKennaThanks for the patch and the reviews.
Comment #7
DamienMcKennaCommitted. Thanks!