<video>小程序组件bindtimeupdate设备currentTime精度问题
4189关注12429浏览
首先频率有问题:
https://developers.weixin.qq.com/blogdetail?action=get_post_info&docid=00006e5976cf9866f726a217b51800&highline=video%7C%26%E7%BB%84%E4%BB%B6%7C%26%E7%9A%84%7C%26bindtimeupdate&token=905838030&lang=zh_CN
但是精度有问题,模拟器上出来是是浮点数,设备上(iOS,Android)都是整数:
代码如下: