Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 798 Bytes

youtube.md

File metadata and controls

25 lines (19 loc) · 798 Bytes
author title date description layout icon tags
Mark Dumay
YouTube
2023-12-28
Use the youtube shortcode to embed a responsive video on your site.
docs
fab youtube
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" >}} {{</* youtube w7Ft2ymGmfc */>}} {{< /example >}}

Arguments

The shortcode supports the following arguments:

{{< args "youtube" >}}