22 lines
519 B
Plaintext
22 lines
519 B
Plaintext
---
|
|
title: Youtube
|
|
description: This section previews the Youtube video embed component.
|
|
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="cpraXaw7dyc" />
|
|
|
|
## Code
|
|
|
|
```bash
|
|
<Youtube videoId="cpraXaw7dyc" />
|
|
```
|
|
|
|
## Usage
|
|
|
|
for example the youtube URL show this https://www.youtube.com/watch?v=cpraXaw7dyc the ID `cpraXaw7dyc`
|