Improve embed handling and Gemini verdict flow
build-push / docker (push) Successful in 4m15s

This commit is contained in:
AI Assistant
2026-03-16 14:09:33 +09:00
parent a37e02aea9
commit 7d9a939633
5 changed files with 64 additions and 51 deletions
+1 -1
View File
@@ -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;