diff --git a/src/components/elements/video-player/index.tsx b/src/components/elements/video-player/index.tsx index 9a4d92c4..42acf465 100644 --- a/src/components/elements/video-player/index.tsx +++ b/src/components/elements/video-player/index.tsx @@ -1,6 +1,12 @@ import { StyledIframe } from "./video-player.styles"; -const urlOptions = 'autoplay=true&loop=true&muted=true&preload=true&responsive=true'; +const urlOptions = new URLSearchParams({ + autoplay: 'true', + loop: 'true', + muted: 'true', + preload: 'true', + responsive: 'true' +}).toString(); export const VideoPlayer = (props: { libraryId: string,