commit 64f2c511765eb22eb2f324590646e7b2e0918e3b
parent 844d3adee3313901a6ce2aa9866cae2af74ba7ab
Author: corndog <cauchyn@firemail.cc>
Date: Thu, 20 Jun 2019 15:07:30 -0700
Use youtube-nocookie for better user privacy
Youtube claims they won't store viewer information
unless they actually play the video. This implies
they know who visits the sites of base embeds.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/in/me/index.md b/in/me/index.md
@@ -6,7 +6,7 @@ tags: prose
function toggleYT(id, timestamp) {
const div = document.getElementById(id);
if (!div.hasChildNodes()) {
- const url = "https://www.youtube.com/embed/" + id + timestamp;
+ const url = "https://www.youtube-nocookie.com/embed/" + id + timestamp;
const iframe = document.createElement('iframe');
iframe.setAttribute("src", url);
iframe.setAttribute("allow", "encrypted-media fullscreen");