issues
search
getkirby
/
getkirby.com
Source code and content for the Kirby website
https://getkirby.com
125
stars
260
forks
source link
Privacy-friendly video embeds
#2342
Closed
lukasbestle
closed
1 week ago
lukasbestle
commented
1 week ago
Description
Summary of changes
New custom
video()
helper that only displays the cover by default and loads the
<iframe>
on click
Add covers to content folder to avoid requests to YouTube's servers without consent
Embed
<iframe>
with
no-referrer
policy
No longer disable player controls to improve UX
Add YouTube to our privacy policy
Reasoning
Increases visitor privacy
Increases performance
Allows to easily open videos in a new tab or copy links as the cover is linked with a plain video link
Description
Summary of changes
video()
helper that only displays the cover by default and loads the<iframe>
on click<iframe>
withno-referrer
policyReasoning