Home

Getting YouTube Autoplay to Work in Hugo Shortcodes

Hugo offers a shortcode to automatically embed YouTube videos. The basic call looks like this:

https://gohugo.io/content-management/shortcodes/#example-youtube-input

As of version 0.75.1, when you set Hugo's YouTube shortcode `autoplay=true`