I am using vue-audio-visual for view wave-form.
but I was stuck with google-chrome.
like i can see wave-form for mp3 and webm but when i try to play with ogg/audio i am failing.
and here i find solution for it.
in src/components/AvWaveform.js line #224. i can see setPeaks is getting buffer but in like #224 you are using this.audio.duration.
so i simply change it to buffer.duration and its works like a works like a charm.
if i am wrong please pardon me.
I am using vue-audio-visual for view wave-form. but I was stuck with google-chrome. like i can see wave-form for mp3 and webm but when i try to play with ogg/audio i am failing. and here i find solution for it. in
src/components/AvWaveform.js
line #224. i can seesetPeaks
is gettingbuffer
but in like #224 you are usingthis.audio.duration
. so i simply change it tobuffer.duration
and its works like a works like a charm. if i am wrong please pardon me.