Video.onTimeUpdate(function listener)
功能描述
监听视频播放进度更新事件
参数
function listener
视频播放进度更新事件的监听函数
参数
Object res
属性 | 类型 | 说明 |
position | number | 当前的播放位置,单位为秒 |
duration | number | 视频的总时长,单位为秒 |
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.