Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KLZT-766 영상기본음소거 #3503

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/triple-media/src/triple-media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default function Media({
sourceUrl,
title,
description,
videoInitiallyMuted,
} = media

if (type && type === 'video' && video) {
Expand All @@ -60,6 +61,7 @@ export default function Media({
cloudinaryId={cloudinaryId}
autoPlay={autoPlay}
loop={loop}
muted={videoInitiallyMuted}
hideControls={!!hideControls}
showNativeControls={showNativeControls}
/>
Expand Down
2 changes: 2 additions & 0 deletions packages/type-definitions/src/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,6 @@ export interface ImageMeta {
href: string
label?: string
}
/* 어드민에서 설정하는 값으로 영상 재생시 소리를 음소거 해주는 기능 */
videoInitiallyMuted?: boolean
}
Loading