You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for making this.
I am currently working on a simple system so sync audio with my "video".
It works so far, but there isn't really a way to know if the user seeks in the video so i can change the audio position too.
Would love to see something like this
player.addEventListener('seek',(seconds)=>{console.log(`User seeked ${seconds} in to the video!`);});
Hello there!
First of all, thanks for making this.
I am currently working on a simple system so sync audio with my "video".
It works so far, but there isn't really a way to know if the user seeks in the video so i can change the audio position too.
Would love to see something like this
My current solution:
This simply sets the current audio position to the position of the video every second.
(i set the
state
to 1 on play, and to 0 on pause)Regards,
Bas
The text was updated successfully, but these errors were encountered: