forked from ryancramerdesign/TextformatterVideoEmbed
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fetch and save aspect ratio for responsive embeds
– 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
- Loading branch information
Showing
1 changed file
with
87 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters