javascript - HTML5 web audio API wavesurfer.js crashes on large mp3 files - Stack Overflow

I was planning on using wavesurfer.js in a project of mine so I checked out the demo on I dropped a lar

I was planning on using wavesurfer.js in a project of mine so I checked out the demo on

I dropped a large mp3 file (around 2 hours) onto the middle of the page that asks for a file. It seems to want to load it but after a while Chrome es up with an error. It doesnt crash, just the tab fails.

With smaller files, single songs, it seems to work ok.

So there seems to be either some limitations with html5 web audio or the websurfer.js library but im not sure. Does anyone have any ideas?

I was planning on using wavesurfer.js in a project of mine so I checked out the demo on http://wavesurfer-js

I dropped a large mp3 file (around 2 hours) onto the middle of the page that asks for a file. It seems to want to load it but after a while Chrome es up with an error. It doesnt crash, just the tab fails.

With smaller files, single songs, it seems to work ok.

So there seems to be either some limitations with html5 web audio or the websurfer.js library but im not sure. Does anyone have any ideas?

Share Improve this question edited Jan 25, 2016 at 18:02 katspaugh 17.9k12 gold badges67 silver badges105 bronze badges asked Nov 28, 2013 at 8:34 zoonosiszoonosis 7991 gold badge12 silver badges33 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

wavesurfer.js GitHub: Large MP3 files cause DOM Exception 12

Sorry that it takes so long to resolve this. From what I managed to google, Safari and Chrome can't decode a large binary due to memory limits.

It looks like it can't be fixed right now, perhaps in the future. They're trying other approaches but without success so far.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745477575a4629415.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信