Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

added missing synchronize to the OnSet method #10986

Merged
merged 1 commit into from
Aug 16, 2024
Merged
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/engine/src/scene/components/MediaComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
},

Expand Down
Loading