diff --git a/content/en/docs/latest/components/youtube.md b/content/en/docs/latest/components/youtube.md new file mode 100644 index 00000000..ad23ffd3 --- /dev/null +++ b/content/en/docs/latest/components/youtube.md @@ -0,0 +1,25 @@ +--- +author: Mark Dumay +title: YouTube +date: 2023-12-28 +description: Use the youtube shortcode to embed a responsive video on your site. +layout: docs +icon: fab youtube +tags: component +--- + +## Overview + +Use the `youtube` shortcode to embed a responsive video on your site. Only the ID of the video is required. In {{< link hugo_youtube_privacy >}}privacy-enhanced mode{{< /link >}}, YouTube will not store information about visitors on your website unless the user plays the embedded video. As an example, the following shortcode displays a Hugo quickstart guide: + + +{{< example lang="hugo" >}} +{{}} +{{< /example >}} + + +## Arguments + +The shortcode supports the following arguments: + +{{< args "youtube" >}}