-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make any iframe embed responsive in the editor
We used to reply on oEmbed's type information to make YouTube embeds responsive in the editor. This change removes that dependency, and looks for content embedded in an iframe with a fixed size, and resizes it keeping the same aspect ratio.
- Loading branch information
1 parent
f5f3009
commit 95ae197
Showing
2 changed files
with
33 additions
and
26 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
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