forked from leftypol/leftypol
youtube.js: use www.youtube-nocookie.com
This commit is contained in:
parent
76bcbccbf4
commit
342d4f9608
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue