Embed

The Embed tag embeds HTML for a provided URL using oEmbed. oEmbed is an open format designed to allow embedding content from a website into another page.

Example:

<Embed>https://www.youtube.com/watch?v=PD2XgQOyCCk</Embed>

Result:

For a list of supported oEmbed providers, see Embeds | WordPress.org.

Responsive

By default, the Embed tag includes a small script to make embedded content responsive. This supports content of any proportions.

Optionally, use the ratio attribute to provide a fixed ratio of width to height, separated by : a colon.

<Embed ratio="1:1">..</Embed>
<Embed ratio="4:3">..</Embed>

This will use a CSS solution to make content responsive, which is more efficient than using JavaScript.