youtube fix

This commit is contained in:
RandyJC
2025-12-08 15:09:42 +01:00
parent 1988eca947
commit df615dc720

View File

@@ -126,11 +126,12 @@ const QuestionMedia = ({ media, alt, onPlayChange }: Props) => {
controls: 0, controls: 0,
disablekb: 1, disablekb: 1,
fs: 0, fs: 0,
enablejsapi: 1,
origin: origin:
typeof window !== "undefined" ? window.location.origin : undefined, typeof window !== "undefined" ? window.location.origin : undefined,
showinfo: 0, showinfo: 0,
}, },
host: "https://www.youtube-nocookie.com", host: "https://www.youtube.com",
events: { events: {
onReady: () => { onReady: () => {
setYoutubeReady(true) setYoutubeReady(true)