staskobzar / vue-audio-visual

VueJS audio visualization components
MIT License
693 stars 111 forks source link

the audio restarts when i click on the wave in the av-waveform component #35

Closed Mpiranha closed 4 years ago

Mpiranha commented 4 years ago

The audio restarts when I click on the waveform in the av-waveform, this is my code below. Please I need help

<av-waveform audio-src="/audio/file_example_MP3_700KB.mp3" :playtime-clickable="true"

Mpiranha commented 4 years ago
    <av-waveform 
    audio-src="/audio/file_example_MP3_700KB.mp3"
    :playtime-clickable="true"
    ></av-waveform>
staskobzar commented 4 years ago

Yes, happened to me in development mode. Try in production, should work. Also, try to run your dev server with --https option. Check demo: https://staskobzar.github.io/vue-audio-visual/

Mpiranha commented 4 years ago

Okay, thanks. I'll try it out and I'll get back to you

Mpiranha commented 4 years ago

running the dev server with --https fixed it Thanks. Is it possible to add a custom control? if Yes, How?

staskobzar commented 4 years ago

Glad it helped. Do you mean custom control for audio play? like pause, forward etc? If yes, this is not implemented.

Mpiranha commented 4 years ago

Alright, thanks.