From cb7d78db1ab13fcecce32649b5f96ce8e9d1beb9 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/tds-widget/src/media/media.tsx | 2 ++ packages/type-definitions/src/image.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/tds-widget/src/media/media.tsx b/packages/tds-widget/src/media/media.tsx index 1c535ded60..4a55893da5 100644 --- a/packages/tds-widget/src/media/media.tsx +++ b/packages/tds-widget/src/media/media.tsx @@ -50,6 +50,7 @@ export function Media({ sourceUrl, title, description, + videoInitiallyMuted, } = media if (type && type === 'video' && video) { @@ -63,6 +64,7 @@ export 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 }