# IRONPDF
Transforming Data into Insights with IronPDF
How to Embed a YouTube Video in Markdown
To embed a YouTube video in a markdown document using a thumbnail link, you can follow these steps:
Copy the YouTube video ID: Find the video ID from the YouTube video's URL. It is the part after
v=
in the URL string. For example, inhttps://www.youtube.com/watch?v=1sKet1Wc0mI
, the video ID is1sKet1Wc0mI
.Create a Thumbnail Image Link:
- Use
http://img.youtube.com/vi/[video ID]/0.jpg
as the link to the video's thumbnail image. - Example:
http://img.youtube.com/vi/1sKet1Wc0mI/0.jpg
.
- Use
- Create a Markdown Link:
- Use the syntax
[](YouTube Video URL)
to make the link clickable, which redirects to the YouTube video when clicked. - Example:
[](http://www.youtube.com/watch?v=1sKet1Wc0mI)
, which will embed a preview image of the video that links to the actual video on YouTube.
- Use the syntax
By clicking on the thumbnail image in the rendered markdown, viewers can be redirected to the YouTube video.