We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e742de commit d7e1eaeCopy full SHA for d7e1eae
docs/content/scripts/content/youtube-player.md
@@ -95,6 +95,16 @@ export interface YouTubeProps {
95
}
96
```
97
98
+### Privacy
99
+
100
+The `<YoutubePlayer>` component is privacy-friendly by default and sets the video host to `https://www.youtube-nocookie.com`.
101
102
+To modify this behavior, you can set the `host` prop to `https://www.youtube.com`.
103
104
+```vue
105
+<ScriptYouTubePlayer video-id="d_IFKP1Ofq0" :player-options="{ host: 'https://www.youtube.com' }" />
106
+```
107
108
#### Eager Loading Placeholder
109
110
The YouTube Player placeholder image is lazy-loaded by default. You should change this behavior if your video is above the fold
0 commit comments