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 2 years ago

Package Health Score

67 / 100
Full package analysis