feat: video loop support for hotspot scenes, demo updates, docs, and engine fixes
This commit is contained in:
@@ -149,6 +149,11 @@ export class VideoManager {
|
||||
return this.active ?? null
|
||||
}
|
||||
|
||||
seekTo(time: number) {
|
||||
if (!this.active) return
|
||||
this.active.currentTime = time
|
||||
}
|
||||
|
||||
onEnd(cb: VideoEndCallback) {
|
||||
this.onEndCallback = cb
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user