Can't listen to html5 events
Surt opened this issue · comments
Erik Wiesenthal commented
Can't listen to html5 events. It works for @play as in the documents for this component, but not for others.
<video-player ref="video"
class="vjs-16-9 vjs-big-play-centered vjs-show-big-play-button-on-pause vjs-big-play-hidden"
:options="playerOptions"
@timeupdate="updateTime($event)"
@volumechange="volumenChange($event)"
@play="playEvent($event)" // this one actually works
/>
EDITED:
Ouch, I see, the events are listed on the component and I can add global events so they are propagated.