Add option to make embeds responsive

Created on 8 November 2016, about 8 years ago
Updated 30 August 2024, 4 months ago

It really is a must-have to allow responsive embeds. So as not to force it on everyone, there could be an option in the plugin settings for enabling responsive wrappings of iframes. This would wrap embeds with a responsive div similar to how iframely does it. https://iframely.com/embed/https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dj....

If nothing else, it would be helpful to provide the width and height of an embed in a data attribute so that a theme can use it to create responsive wrappers. The oembed response should provide dimensions for most embeds. This could then turn into something like data-embed-size="1024x468" or data-embed-ratio="1.3333" or individual width and heights.

✨ Feature request
Status

Fixed

Version

3.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States segovia94

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024