浏览代码

Update seek time display

Whenever seeking stops, immediately update current time display.
pull/1/head
父节点
当前提交
68cfb8111a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      packages/web-kitchensink-reactnext/src/categories/blob/react/hooks/interactive/media.ts

+ 1
- 0
packages/web-kitchensink-reactnext/src/categories/blob/react/hooks/interactive/media.ts 查看文件

@@ -77,6 +77,7 @@ export const useMediaControls = <T extends HTMLMediaElement>({

const { currentTarget: thisElement } = e;
setIsSeeking(false);
setCurrentTimeDisplay(thisElement.valueAsNumber);
doSetSeek(thisElement, mediaController);
}, [ref, doSetSeek]);



正在加载...
取消
保存