Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mounted () {
this.player = new Plyr(this.$el.firstChild, this.opts)
this.$emit('player', this.player)
this.emit.forEach(element => {
this.player.on(element, this.emitPlayerEvent)
})
},
beforeDestroy () {