Skip to content
[Logo] [Logo]

Embed Block Demo

!Note: this piece of documentation is auto-generated from blocks/EmbedBlock/README.md.

Renders external content based on the block's OEmbed data.

Features

  • Supports ~300 content providers (like Twitter, Flickr, YouTube, etc) using the OEmbed protocol.

  • Renders a noscript embed version which is dynamically enhanced.

  • Lazy loads embed scripts and iframes to improve performance.

  • Provides a mechanism to define custom renderer per provider.

  • If OEmbed data is unavailable, a link is displayed with the page title of the given URL.

CodePen Embed: