myaudio.duration为null的解决办法

放在 myaudio.addEventListener("canplay",function(){});中,就可以获取到值。

posted @ 2016-02-15 16:24  秦舞  阅读(364)  评论(0)    收藏  举报