# Embed

The embed component helps with content embedding.

The embed component syntax is similar to many other Retype components. The !embed keyword is used to specify the component and a link to the resource is included.

[!embed](link)

The link is the full URL to the embedded resource. For instance, embeding a YouTube or Vimeo video would require the following component syntax:

[!embed](https://www.youtube.com/embed/C0DPdy98e4c)

The above Retype component would render as follows:

The following options allow for customization of the embed component.


# Aspect

Specifies the video's pixel aspect ratio.

[!embed aspect="4:3"](https://www.youtube.com/embed/C0DPdy98e4c)

The setting accepts a number of keyword values according to the list below, each reflecting the embedded area's aspect ratio:

Accepted values
1:1
4:3
16:9 (default)
21:9

# El

Specifies which HTML element should be used to wrap the embedded content.

[!embed el="embed"](https://www.youtube.com/embed/C0DPdy98e4c)

The setting accepts a number of keyword values according to the list below, each resembling its respective HTML tag in the rendered page:

Accepted values
embed
iframe (default)
video
object

# Height

Specifies a height for the embedded content's area.

[!embed height="120"](https://www.youtube.com/embed/C0DPdy98e4c)

# Text

Adds a caption to the embedded content.

[!embed text="Test Video"](https://www.youtube.com/embed/C0DPdy98e4c)

Test Video


# Width

Specifies a width for the embedded content's area.

[!embed width="300"](https://www.youtube.com/embed/C0DPdy98e4c)