feat: update auto play schedule
This commit is contained in:
parent
e365aa8007
commit
1f85dccc83
|
|
@ -1127,9 +1127,9 @@ const Schedule = (props: any) => {
|
||||||
<iframe
|
<iframe
|
||||||
width="100%"
|
width="100%"
|
||||||
height="480"
|
height="480"
|
||||||
src={`${detail?.youtubeEmbedUrl}`}
|
src={`${detail?.youtubeEmbedUrl}?autoplay=1&mute=1&enablejsapi=1&origin=${window.location.origin}`}
|
||||||
frameBorder="0"
|
frameBorder="0"
|
||||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||||
allowFullScreen
|
allowFullScreen
|
||||||
title={detail?.title}
|
title={detail?.title}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue