Public
Authored by flomei

[hugo] DSGVO/GDPR safe embedding of YouTube videos

This snippet is a shortcode for Hugo (gohugo.io) to safely embed YouTube videos into your markdown/page. Users have to click a button before the iframe with the embed url of the video gets generated/integrated.

Also a simple PHP-based YT preview image cache is used to load the preview images from a local resource.

Edited
youtube.html 2.68 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment