mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-03-13 20:15:35 +01:00
youtube fix
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user