youtube.js: use www.youtube-nocookie.com

This commit is contained in:
Zankaria 2025-06-10 18:07:42 +02:00
parent 76bcbccbf4
commit 342d4f9608

View file

@ -18,7 +18,7 @@
$(document).ready(function() { $(document).ready(function() {
const ON = '[Remove]'; const ON = '[Remove]';
const YOUTUBE = 'www.youtube.com'; const YOUTUBE = 'www.youtube-nocookie.com';
function makeEmbedNode(embedHost, videoId, width, height) { function makeEmbedNode(embedHost, videoId, width, height) {
return $(`<iframe type="text/html" width="${width}" height="${height}" class="full-image" return $(`<iframe type="text/html" width="${width}" height="${height}" class="full-image"