Replies: 1 comment
-
Related discussion on gohugo.io: https://discourse.gohugo.io/t/embedding-youtube-in-a-privacy-friendly-way/35784/8 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For the
video
post type, the following feature should be implemented:A new privacy-protecting function should be implemented to show only the video poster and only if a user clicks on the poster the associated
iframe
should be loaded.Furthermore the video-url should be sufficient, the logic behind (if vimeo or youtube should be loaded) can be implemented in the template directly, so there will be the parameters:
videoPoster
videoUrl
This can be implemented to be compatible with the actual parameter names, preventing a breaking change here.
Beta Was this translation helpful? Give feedback.
All reactions