如何获取当前播放视频的毫秒或更好纳秒的时间戳?
发布于 2010-12-06 11:03:43
NetStream.time
属性精确到毫秒。该值是秒数,但它是Number
,并且包含文档中所说的精确到毫秒的小数秒。
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2#time
这个数字精确到小数点后的第1000位;乘以1000可以得到流已经播放的毫秒数。
https://stackoverflow.com/questions/4361303
复制相似问题