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) => {
|
return new Promise((res) => {
|
||||||
const interval = setInterval(() => {
|
const interval = setInterval(() => {
|
||||||
|
videoRef.currentTime = 0;
|
||||||
if (thumbnailRes) {
|
if (thumbnailRes) {
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
res(thumbnailRes);
|
res(thumbnailRes);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue