ATTENTION for WP Version 5+: This plugin does not work with Gutenberg (no problems with Classic Editor plugin though)! Gutenberg brings its own CSS for responsive oEmbed elements, so this plugin would double that and create strange effects.
This plugin uses some minimal CSS rules and a wrapping HTML element to maintain the aspect ratio of oEmbed elements with fixed aspect ratio (e. g. YouTube, Vimeo or Soundcloud).
You can find a list of all oEmbed sites supported by WordPress here.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- You’re done! Try pasting a YouTube, Vimeo or any other oEmbed URL into a post. Open the post and resize your browser window, the oEmbed element should scale properly.
Contributors & Developers
“Responsive oEmbed” is open source software. The following people have contributed to this plugin.Contributors
Translate “Responsive oEmbed” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- WordPress 5.1 compatibility check and readme.txt update.
- Exclude WordPress post embeds, because their size is handled via wp-embed.js.
- Fixed problem with unexpected margins in frontend and backend.
- Changed wrapper HTML tag to div to prevent parsing errors, when there are blockquotes or other p tags inside the oembed code.
- Allow any aspect ratios.
- First release