From f4989e01737fbbcdaffcbf3d046d8b405f5a2a29 Mon Sep 17 00:00:00 2001 From: Michael Floyd Date: Fri, 16 Aug 2024 12:03:26 -0700 Subject: [PATCH] added missing synchronize to the OnSet method --- packages/engine/src/scene/components/MediaComponent.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/engine/src/scene/components/MediaComponent.ts b/packages/engine/src/scene/components/MediaComponent.ts index 28702b70fd..99e1a27195 100644 --- a/packages/engine/src/scene/components/MediaComponent.ts +++ b/packages/engine/src/scene/components/MediaComponent.ts @@ -231,6 +231,8 @@ export const MediaComponent = defineComponent({ if (typeof json.seekTime === 'number') component.seekTime.set(json.seekTime) if (typeof json.autoplay === 'boolean') component.autoplay.set(json.autoplay) + + if (typeof json.synchronize === 'boolean') component.synchronize.set(json.synchronize) }) },