video标签duration问题

video的duration不足1秒不会四舍五入,所以求取当前时间显示时,需用Math.floor,不可用Math.round

posted on 2020-09-19 23:53  StephenWong  阅读(765)  评论(0编辑  收藏  举报