Skip to main content
Drupal Architect

Main navigation

  • Modules
  • Articles
  • Resources
  • Questions
  • Projects
  • Tips
  • Issues
  • Changes
  • Topics
  • Search

Breadcrumb

  1. Home
  2. Modules

URL Embed

Posted December 26, 2022 | Updated January 3, 2025

Render oEmbed content via URL in editor.

Worked out of the box with a codepen link.

To change the url, highlight the embed and click the button again.

Unable to set height or adjust other embed options/response attributes.

Hook to modify oembed response (needs patch from #3281357).

The oscarotero/Embed library used by this module is looking for a maintainer.

This fixed issue has comments about responsive embeds.

  • Some oEmbed videos do not maintain aspect ratio
  • oEmbed videos are not fully responsive
  • Rename oEmbed formatter settings to default_width and default_height
  • Responsive Iframes with One Great CSS Trick
  • How TO - Responsive Iframe
  • Negotiate max width/height of oEmbed assets more intelligently
  • Allow oEmbed video iFrames to expand to available space
  • oEmbed content can now be responsive
Module page
https://www.drupal.org/project/url_embed
Module tags
#Extension
Stability
Beta
Tags
#Embedded content, #oEmbed
Related modules
Simple oEmbed
oEmbed Providers
Module issues
Theming URL output in UrlEmbedFilter
Project updates
Codepen Embedding

Footer

  • About
  • Learn
  • Contact

Social

  • Classes
  • Portfolio
  • Twitter
  • Mantra Theme