From 246cc373e282e9004ab2dc27bd60239840b11529 Mon Sep 17 00:00:00 2001 From: clkim Date: Fri, 19 Dec 2025 17:36:43 +0900 Subject: [PATCH] =?UTF-8?q?fix.=20=EB=B9=84=EB=94=94=EC=98=A4=20=EC=9E=AC?= =?UTF-8?q?=EC=83=9D=20=ED=95=98=EC=9D=B4=EB=93=9C=EB=A0=88=EC=9D=B4?= =?UTF-8?q?=EC=85=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layers/components/atoms/Video.vue | 9 ++++----- layers/utils/urlUtil.ts | 7 ++++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/layers/components/atoms/Video.vue b/layers/components/atoms/Video.vue index 2cb8111..c0785b4 100644 --- a/layers/components/atoms/Video.vue +++ b/layers/components/atoms/Video.vue @@ -4,7 +4,6 @@ interface Props { type?: 'mp4' | 'webm' poster?: string play?: boolean - muted?: boolean loop?: boolean bordered?: boolean class?: string @@ -13,7 +12,6 @@ interface Props { const props = withDefaults(defineProps(), { type: 'mp4', play: true, - muted: true, loop: true, bordered: true, }) @@ -98,9 +96,10 @@ watch( ) onMounted(() => { - nextTick(() => { + nextTick(async () => { if (props.play) { - playVideo() + await waitForCanPlay() + await playVideo() } }) }) @@ -118,8 +117,8 @@ onBeforeUnmount(() => {