Title: Responsive oEmbed
Author: Palasthotel GmbH
Published: <strong>April 6, 2017</strong>
Last modified: March 3, 2019

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/responsive-oembed.svg)

# Responsive oEmbed

 By [Palasthotel GmbH](https://profiles.wordpress.org/palasthotel/)

[Download](https://downloads.wordpress.org/plugin/responsive-oembed.1.4.1.zip)

 * [Details](https://pcd.wordpress.org/plugins/responsive-oembed/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/responsive-oembed/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/responsive-oembed/#installation)
 * [Development](https://pcd.wordpress.org/plugins/responsive-oembed/#developers)

 [Support](https://wordpress.org/support/plugin/responsive-oembed/)

## Description

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).

Unlike other plugins, this plugin does not use any JavaScript!

The aspect ratio is calculated from the (iframe, object or embed) HTML tag width
and height attributes. An aspect ratio will only be applied, if both width AND height
attributes are given by the oEmbed element and if there is no data-secret attribut
set (because those are handled via wp-embed.js). Some oEmbeds have no width or height
attributes set, because they calculate their dimension via JavaScript. In those 
cases this plugin has no effect.

You can find a [list of all oEmbed sites supported by WordPress here](https://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F).

## Installation

 1. Upload `responsive-oembed.zip` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. 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.

## Reviews

![](https://secure.gravatar.com/avatar/82192052f9e574be5baeb2edce88d8e5a4ea0dab136c97bd479860b3c0ba4840?
s=60&d=retro&r=g)

### 󠀁[Plugin did nothing](https://wordpress.org/support/topic/plugin-did-nothing-2/)󠁿

 [jmf](https://profiles.wordpress.org/jadenemayla/) April 30, 2019

I followed the minimal instructions but the plugin did nothing. My embedded content
was still NOT responsive.

![](https://secure.gravatar.com/avatar/f14afc440c9a37d047d05576589c404a7c7e659d932917ce083540488c699148?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-18983/)󠁿

 [Kudratullah](https://profiles.wordpress.org/mhamudul_hk/) August 29, 2018

Exactly what i’m looking for. Keep up the good work.

![](https://secure.gravatar.com/avatar/e3b1514b54f59dd7dcbe7eb71d9198c3fb6ace8f26ae9173f8eaeaeee681695d?
s=60&d=retro&r=g)

### 󠀁[Works perfect!](https://wordpress.org/support/topic/works-perfect-541/)󠁿

 [aberniz](https://profiles.wordpress.org/aberniz/) January 5, 2018

It works perfect! I had purchased a minimalist theme (those built for being fast)
but it had an issue with oembed videos. This plugin saved my life! Thanks.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/responsive-oembed/reviews/)

## Contributors & Developers

“Responsive oEmbed” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Palasthotel GmbH ](https://profiles.wordpress.org/palasthotel/)
 *   [ greatestview ](https://profiles.wordpress.org/greatestview/)

[Translate “Responsive oEmbed” into your language.](https://translate.wordpress.org/projects/wp-plugins/responsive-oembed)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/responsive-oembed/),
check out the [SVN repository](https://plugins.svn.wordpress.org/responsive-oembed/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/responsive-oembed/)
by [RSS](https://plugins.trac.wordpress.org/log/responsive-oembed/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4.1

 * WordPress 5.1 compatibility check and readme.txt update.

#### 1.4

 * Exclude WordPress post embeds, because their size is handled via wp-embed.js.

#### 1.3

 * Fixed problem with unexpected margins in frontend and backend.

#### 1.2

 * Changed wrapper HTML tag to div to prevent parsing errors, when there are blockquotes
   or other p tags inside the oembed code.

#### 1.1

 * Allow any aspect ratios.

#### 1.0

 * First release

## Meta

 *  Version **1.4.1**
 *  Last updated **7 years ago**
 *  Active installations **100+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **5.1.22**
 *  Language
 * [English (US)](https://wordpress.org/plugins/responsive-oembed/)
 * Tags
 * [aspect ratio](https://pcd.wordpress.org/plugins/tags/aspect-ratio/)[iframe](https://pcd.wordpress.org/plugins/tags/iframe/)
   [oembed](https://pcd.wordpress.org/plugins/tags/oembed/)[responsive](https://pcd.wordpress.org/plugins/tags/responsive/)
   [youtube](https://pcd.wordpress.org/plugins/tags/youtube/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/responsive-oembed/advanced/)

## Ratings

 3.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/responsive-oembed/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/responsive-oembed/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/responsive-oembed/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/responsive-oembed/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/responsive-oembed/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/responsive-oembed/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/responsive-oembed/reviews/)

## Contributors

 *   [ Palasthotel GmbH ](https://profiles.wordpress.org/palasthotel/)
 *   [ greatestview ](https://profiles.wordpress.org/greatestview/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/responsive-oembed/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://palasthotel.de/)