Skip to main content

Embedding Youtube Videos

Example

Usage

To use this component, simply add the following tag to your .mdx file:

<youtube></youtube>

Parameters

ParameterTypeDescriptionNotesRequired?
embedidstringThe id of the youtube video to embed.Reference below for how to find the id of a youtube video.Yes
widthstringThe width of the video.Use pixels. Example 500pxNo
titlestringThe title of the video.N/ANo

Example Usage

<youtube embedid="Idsag5z0nIY" width="400px" title="Importing Your World using Web File Management"></youtube>

How to Find the ID of a Youtube Video

The id of a youtube video is the string of characters after the v= in the url of the video. For example, the id of the video https://www.youtube.com/watch?v=dQw4w9WgXcQ is dQw4w9WgXcQ.