How to use the plyr/dist/plyr.mjs function in plyr

To help you get started, we’ve selected a few plyr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github redxtech / vue-plyr / src / VuePlyr.vue View on Github external
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 () {

plyr

A simple, accessible and customizable HTML5, YouTube and Vimeo media player

MIT
Latest version published 1 year ago

Package Health Score

70 / 100
Full package analysis