Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js cover for Vimeo player.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Player, which permits you to utilize the Vimeo player as a Vue component effortlessly, despite having Nuxt.js SSR.Check out at the instance listed below.Example.To begin teaming up with the Vue vimeo gamer make use of the following order to mount it.npm set up vue-vimeo-player-- conserve.OR.yarn add vue-vimeo-player.of tons it using CDN.If utilized as an international component.bring in Vue from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a local part.// In a part.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.components: vueVimeoPlayer-|-|-|-random-}For consumption along with Nuxt.js satisfy recommend here.Props.player-width: Cord or even Number, nonpayment one hundred%.player-height: Cord or even Number, nonpayment 320.options: Object - alternatives to pass to Vimeo.Player.video-id: String, called for.loop: Boolean.autoplay: Boolean.Procedures.update( videoID): Takes on the Vimeo player along with the supplied i.d..play().time out().mute().unmute().Occasions.Celebrations sent out from the component.The prepared event just passes the gamer circumstances.
If you are interested for even more or you possess any type of insects and recommendations, go here. That's it!Created as well as provided by @dmhristov.

Articles You Can Be Interested In