feat: audio system, demo scene updates, docs, and engine improvements
This commit is contained in:
@@ -154,6 +154,11 @@ export class VideoManager {
|
||||
this.active.currentTime = time
|
||||
}
|
||||
|
||||
setMuted(muted: boolean) {
|
||||
if (this.elA) this.elA.muted = muted
|
||||
if (this.elB) this.elB.muted = muted
|
||||
}
|
||||
|
||||
onEnd(cb: VideoEndCallback) {
|
||||
this.onEndCallback = cb
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user