Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Gamer, which permits you to utilize the Vimeo player as a Vue component easily, despite Nuxt.js SSR.Take a look at the example listed below.Instance.To begin partnering with the Vue vimeo player utilize the following order to install it.npm set up vue-vimeo-player-- save.OR.yarn include vue-vimeo-player.of bunch it via CDN.If used as a global element.bring in Vue coming from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local part.// In a part.import vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.components: vueVimeoPlayer-|-|-|-random-}For consumption with Nuxt.js please refer right here.Props.player-width: Strand or Number, nonpayment one hundred%.player-height: String or even Number, nonpayment 320.choices: Object - possibilities to exchange Vimeo.Player.video-id: Strand, needed.loop: Boolean.autoplay: Boolean.Procedures.update( videoID): Takes on the Vimeo gamer along with the offered ID.play().pause().mute().unmute().Occasions.Celebrations gave off from the component.The all set activity just passes the gamer occasion.
If you are intrigued for even more or you possess any bugs and also recommendations, visit here. That's it!Developed and sent through @dmhristov.