Skip to content

Commit 1ca1b7f

Browse files
committed
docs: docs: clarify autoplay parameter availability in YouTubeEmbed
Co-authored-by: Kief5555 <[email protected]>"
1 parent 8f68d03 commit 1ca1b7f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/01-app/03-building-your-application/06-optimizing/12-third-party-libraries.mdx

+8-8
Original file line numberDiff line numberDiff line change
@@ -453,11 +453,11 @@ export default function Page() {
453453

454454
#### Options
455455

456-
| Name | Type | Description |
457-
| ----------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
458-
| `videoid` | Required | YouTube video id. |
459-
| `width` | Optional | Width of the video container. Defaults to `auto` |
460-
| `height` | Optional | Height of the video container. Defaults to `auto` |
461-
| `playlabel` | Optional | A visually hidden label for the play button for accessibility. |
462-
| `params` | Optional | The video player params defined [here](https://developers.google.com/youtube/player_parameters#Parameters). <br/> Params are passed as a query param string. <br/> Eg: `params="controls=0&start=10&end=30"` |
463-
| `style` | Optional | Used to apply styles to the video container. |
456+
| Name | Type | Description |
457+
| ----------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
458+
| `videoid` | Required | YouTube video id. |
459+
| `width` | Optional | Width of the video container. Defaults to `auto` |
460+
| `height` | Optional | Height of the video container. Defaults to `auto` |
461+
| `playlabel` | Optional | A visually hidden label for the play button for accessibility. |
462+
| `params` | Optional | The video player params defined [here](https://developers.google.com/youtube/player_parameters#Parameters). <br/> Params are passed as a query param string. <br/> Eg: `params="controls=0&start=10&end=30"` <br/> Available parameters exclude `autoplay`. |
463+
| `style` | Optional | Used to apply styles to the video container. |

0 commit comments

Comments
 (0)