最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论