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
I try to implement a smooth handling to start/pause the playing of a video based on hover. Currently the video always starts from the first second and not from the moment the user hovered out of the player.
Expected Behavior
Video should persist playing on the same progress and not start from the beginning again.
I guess I overlook something obvious but I searched the issues here and could not find a solution. I tried to persist the onProgress state somehow but could not see how to apply it correctly.
This discussion was converted from issue #1410 on April 20, 2024 12:45.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Current Behavior
I try to implement a smooth handling to start/pause the playing of a video based on hover. Currently the video always starts from the first second and not from the moment the user hovered out of the player.
Expected Behavior
Video should persist playing on the same progress and not start from the beginning again.
Steps to Reproduce
Environment
latest version
Other Information
I guess I overlook something obvious but I searched the issues here and could not find a solution. I tried to persist the
onProgress
state somehow but could not see how to apply it correctly.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions