TextformatterVideoEmbed icon indicating copy to clipboard operation
TextformatterVideoEmbed copied to clipboard

Fetch and save aspect ratio for responsive embeds

Open daun opened this issue 9 years ago • 1 comments

  • Added new column to db: aspect_ratio
  • Added method to handle the db schema update
  • Fetches width and height from oEmbed to determine video’s aspect ratio for proper responsive embedding
  • Added new module config field: defaultAspectRatio (used when aspect ratio can’t be determined from oEmbed request)
  • Bumbed version to 112

daun avatar Nov 11 '16 15:11 daun

I really like this @philippdaun. Can this be merged @ryancramerdesign?

cb2004 avatar Jun 20 '17 12:06 cb2004