question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash on large file

See original GitHub issue

i’am trying to open 1 hour of podcast on my phone, event if i puting this code

var wavesurfer = WaveSurfer.create({
    container: '#waveform',
    backend: 'MediaElementWebAudio',
    scrollParent: true,
    waveColor: '#D9DCFF',
    progressColor: '#4353FF',
    cursorColor: '#4353FF',
    barWidth: 2,
    barRadius: 3,
    barHeight: 1,
    barGap: 2
  });
  wavesurfer.load('<%= rails_blob_path(@podcast.audio_file) %>');
  wavesurfer.on('ready', function () {
    wavesurfer.play();
  });

my phone crash and i have this information/issue on my dev console

Uncaught TypeError: this.Backend is not a constructor
    value wavesurfer.js:586
    value wavesurfer.js:387
    value wavesurfer.js:230
    <anonymous> hey:692

when is a tiny file, everythink is ok, reading audio file work perfectly, but able to read large file. need help, thanks

PS: using .opus file as audio format

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
sundayzcommented, Sep 6, 2021

Which browser?

0reactions
mvondoyannickcommented, Sep 28, 2021

Which browser?

Android browser, chrome desktop - Linux and windows (Google Chrome, opera browser)

Read more comments on GitHub >

github_iconTop Results From Across the Web

File Explorer crashes while moving large files
File Explorer crashes while moving large files. Hey, I have a Lenovo IdeaPad Laptop with i3-1005G1 Processor, 4GB RAM and 1TB HDD.
Read more >
Can a huge file physically crash a computer? - Quora
Physically, no. Any such crash would be a software crash; and, even then, only if the software which is attempting to handle the...
Read more >
How to Work on Large Excel Files Without Crashing (5-Step ...
How to Work on Large Excel Files Without Crashing (5-Step Guide) · Step 1. Remove Excessive Formatting · Step 2. Remove Unused Styles...
Read more >
Crashes when working on extremely large files (#5862) · Issues
I am stitching together (or was) 130 images into one big image, but got to around 60 when the crash happened. All image...
Read more >
Visual Studio crashes when working with large files. #48592
Visual Studio was crashing because it cannot handle files that big(10mb) class file. Which I wish it could. I split the file in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found