spot: restore currtime after thumbnail
This commit is contained in:
parent
712f07988e
commit
b9cca6b388
1 changed files with 1 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ function SavingControls({
|
|||
|
||||
return new Promise((res) => {
|
||||
const interval = setInterval(() => {
|
||||
videoRef.currentTime = 0;
|
||||
if (thumbnailRes) {
|
||||
clearInterval(interval);
|
||||
res(thumbnailRes);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue