feat: update auto play schedule

This commit is contained in:
hanif salafi 2025-07-03 10:00:31 +07:00
parent e365aa8007
commit 1f85dccc83
1 changed files with 2 additions and 2 deletions

View File

@ -1127,9 +1127,9 @@ const Schedule = (props: any) => {
<iframe
width="100%"
height="480"
src={`${detail?.youtubeEmbedUrl}`}
src={`${detail?.youtubeEmbedUrl}?autoplay=1&mute=1&enablejsapi=1&origin=${window.location.origin}`}
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
title={detail?.title}
/>