Open Ishodnikov opened 4 years ago
Are you trying to make the player resume playing when it gets paused?
<twitch-player ref="player" :channel="url" @pause="onPause" />
{
// ...
methods: {
onPaused() {
this.$refs.player.play();
},
},
// ...
}
Hi! How to emit child method, for example, 'play' after listen method pause?
Parent:
<twitch-player :channel="url" @pause="onPaused()"></twitch-player>