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.

After upgrade wavesurfer.js from 2.1.3 to 2.2.1 I can't resize and drag old regions

See original GitHub issue

Wavesurfer.js version(s):

2.2.1

Browser and operating system version(s):

Google Chrome 75.0.3770.100 , windows 8.1, 64bit

After upgrade wavesurfer.js from 2.1.3 to 2.2.1 Regions plugin doesn’t work properly. Even example on your site Old regions (witch almost exist when create waveform) are not dragable or resizible. But new ones are resizeble and dragable…

My code is working just like your example. Old regions not resizeble and not drageble. But new ones are.

    this.wavesurfer = WaveSurfer.create({
      container: this.waveform,
      scrollParent: true,
      minPxPerSec: 200,
      plugins: [
        RegionsPlugin.create({
          regions,
          dragSelection: true
        }),
        TimelinePlugin.create({
          container: this.timeline
        })
      ]
    });

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
thijstriemstracommented, Jul 15, 2019

@Aparus v3.0 was released. Can you try that?

0reactions
ApayRuscommented, Jul 19, 2019

@thijstriemstra, thank you. Yes, I run npm i wavesurfer.js@3 and plugin updated. And then everything works fine!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot Resize Regions added during .create #1669 - GitHub
I'm looking to utilize Wavesurfer and the Regions plugin to create an initial region, and then allow the user to resize it.
Read more >
Why wavesurferjs is overflowing the parent div
js. All I did is update drawer size and call redraw method when you change the container width. But then the regions doesn't...
Read more >
WaveSurfer Options
option type default audioRate float 1 audioContext object none audioScriptProcessor object none
Read more >
Security update for shotwell (Moderate) - ftp://ftp.SUSE.com
Marcus Updateinfo to OVAL Converter 5.5 2017-03-20T11:00:16 Security update for shotwell (Moderate) openSUSE 13.2 Shotwell was updated to fix the following ...
Read more >
liste.ircam.fr/wws/d_read/ftm/ReleaseNotes.txt
RELEASE NOTES for FTM & Co 2.5.0 BETA-19 (21/01/2011) fmat class: - fix crash when resizing matrix now created with (0, 0) size...
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