🎥 Make videos programmatically with React
Fixes #5757, use proper current time calculation
Igor Samokhovetsb94596c388e1
diff --cc packages/media/src/video/media-player.tsindex a1a074cea1,f5b7f27b53..9a587254bf--- a/packages/media/src/video/media-player.ts+++ b/packages/media/src/video/media-player.ts@@@ -355,8 -382,20 +383,8 @@@ export class MediaPlayerthis.videoAsyncId++;}-- private getPlaybackTime(): number | null {- const absoluteTime =- this.sharedAudioContext.currentTime - this.audioSyncAnchor;- return getTimeInSeconds({- unloopedTimeInSeconds: absoluteTime,- playbackRate: this.playbackRate,- loop: this.loop,- trimBefore: this.trimBefore,- trimAfter: this.trimAfter,- mediaDurationInSeconds: this.totalDuration ?? null,- fps: this.fps,- ifNoMediaDuration: 'infinity',- src: this.src,- });++ private getPlaybackTime(): number {+ return this.sharedAudioContext.currentTime - this.audioSyncAnchor;}private scheduleAudioChunk(