Rox

Results 5 comments of Rox

Quick and silly hack `const video = document.querySelector('video'); // A video's MediaStream object is available through its srcObject attribute const mediaStream = video.srcObject; // Through the MediaStream, you can get...

I hacked it for now, not a great solution, but works. `const video = document.querySelector('video'); // A video's MediaStream object is available through its srcObject attribute const mediaStream = video.srcObject;...

That was a quick fix, for anyone interested, I went to the wavesurfer.regions.js file (wavesurfer.js) and added this line of code to the bottom of the init: function... window.addEventListener('resize', this.onZoom);...

Hi Jiahan, Have you been able to look at this? Can you please post an update here. Thanks