-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
bugSomething isn't workingSomething isn't working
Description
From the docs, we have common events playing, paused.
I am trying to emit the events from the av-waveform as so:
<audio autoplay color="white" ref="foo" :src="vidUrl"></audio>
<av-waveform @playing="isPlaying = true" @paused="isPlaying = false" @ended="isPlaying=false" :canv-width="300" class="memoClass" played-line-color="#b7c6c7" :playtime-with-ms="false" :playtime-text-bottom="true" playtime-font-color="white" noplayed-line-color="white" ref-link="foo"/>
I am trying to change the data property isPlaying to toggle a icon, there isn't an error in the console, but the data property is not switching, hence the event isn't being fired.
I also trying to do this by checking the play state by $refs.foo.paused, but i cant find the paused element on foo, but that may be another issue.
as a side note, the font-color for the wave isn't changing to white, when i add a :playtime-font-color, there is a type error.
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working