This commit is contained in:
+1
-1
@@ -386,7 +386,7 @@ function buildResultModalEmbedURL(item) {
|
||||
if (item.source === "Google Video") {
|
||||
const videoId = extractYouTubeID(item.link);
|
||||
if (videoId) {
|
||||
return `https://www.youtube.com/embed/${videoId}?autoplay=1&rel=0`;
|
||||
return `https://www.youtube-nocookie.com/embed/${videoId}?autoplay=1&rel=0&playsinline=1&origin=${encodeURIComponent(window.location.origin)}`;
|
||||
}
|
||||
}
|
||||
return item.link;
|
||||
|
||||
Reference in New Issue
Block a user