Skip to content

Commit e28aa9b

Browse files
committed
doc: clean up youtube
1 parent 881a2a9 commit e28aa9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/scripts/content/youtube-player.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ links:
1414

1515
[YouTube](https://youtube.com/) is a video hosting platform that allows you to upload and share videos.
1616

17-
Nuxt Scripts provides a `useScriptYouTubePlayer` composable and a headless `ScriptYouTubePlayer` a component to interact with the YouTube Player.
17+
Nuxt Scripts provides a `useScriptYouTubePlayer` composable and a headless `ScriptYouTubePlayer` component to interact with the YouTube Player.
1818

1919
## ScriptYouTubePlayer
2020

@@ -73,7 +73,7 @@ The `ScriptYouTubePlayer` component accepts the following props:
7373
- `trigger`: The trigger event to load the YouTube Player. Default is `mousedown`. See [Element Event Triggers](/docs/guides/script-triggers#element-event-triggers) for more information.
7474
- `placeholderAttrs`: The attributes for the placeholder image. Default is `{ loading: 'lazy' }`.
7575
- `aboveTheFold`: Optimizes the placeholder image for above-the-fold content. Default is `false`.
76-
-
76+
7777
All script options from the [YouTube IFrame Player API](https://developers.google.com/youtube/iframe_api_reference) are supported on the `playerVars` prop, please consult the [Supported paramters](https://developers.google.com/youtube/player_parameters#Parameters) for full documentation.
7878

7979
```ts

0 commit comments

Comments
 (0)