From 1f6b67ed82988ba0120a522d39a6c2a633da27ad Mon Sep 17 00:00:00 2001 From: Doncic <50508394+paulbkim01@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:07:44 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=81=EC=83=81=20=EA=B8=B0=EB=B3=B8=20?= =?UTF-8?q?=EC=9D=8C=EC=86=8C=EA=B1=B0=EA=B8=B0=EB=8A=A5=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/triple-media/src/triple-media.tsx | 2 ++ packages/type-definitions/src/image.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/triple-media/src/triple-media.tsx b/packages/triple-media/src/triple-media.tsx index 01f98e253c..d8b43b56f1 100644 --- a/packages/triple-media/src/triple-media.tsx +++ b/packages/triple-media/src/triple-media.tsx @@ -47,6 +47,7 @@ export default function Media({ sourceUrl, title, description, + videoInitiallyMuted, } = media if (type && type === 'video' && video) { @@ -60,6 +61,7 @@ export default function Media({ cloudinaryId={cloudinaryId} autoPlay={autoPlay} loop={loop} + muted={videoInitiallyMuted} hideControls={!!hideControls} showNativeControls={showNativeControls} /> diff --git a/packages/type-definitions/src/image.ts b/packages/type-definitions/src/image.ts index 3f414b17b1..61afdcb733 100644 --- a/packages/type-definitions/src/image.ts +++ b/packages/type-definitions/src/image.ts @@ -62,4 +62,6 @@ export interface ImageMeta { href: string label?: string } + /* 어드민에서 설정하는 값으로 영상 재생시 소리를 음소거 해주는 기능 */ + videoInitiallyMuted?: boolean }