---
title: Youtube
description: A component used to embed YouTube videos directly into your documentation.
date: 14-12-2024
---

I have implemented a `YouTube` component for your documentation. This component allows you to easily embed YouTube videos directly into your documentation by simply inputting the video's ID.

## Preview

<Youtube videoId="8sM0Di7Ew9Q" />

## Output Markdown

```markdown
<Youtube videoId="8sM0Di7Ew9Q" />
```

## Usage

<Note type="note" title="Usage">
  for example the youtube URL show this https://www.youtube.com/watch?v=8sM0Di7Ew9Q the ID `8sM0Di7Ew9Q`
</Note>
