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

Commit

Permalink
added missing synchronize to the OnSet method
Browse files Browse the repository at this point in the history
  • Loading branch information
MbfloydIR committed Aug 16, 2024
1 parent 1bf2882 commit f4989e0
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit f4989e0

Please sign in to comment.