Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Player, which enables you to utilize the Vimeo player as a Vue part effortlessly, despite having Nuxt.js SSR.Have a look at the example listed below.Example.To begin partnering with the Vue vimeo player make use of the following demand to install it.npm put up vue-vimeo-player-- spare.OR.yarn incorporate vue-vimeo-player.of tons it through CDN.If made use of as a worldwide element.import Vue from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local area component.// In an element.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.components: vueVimeoPlayer-|-|-|-random-}For consumption with Nuxt.js satisfy recommend listed below.Props.player-width: Cord or Number, nonpayment one hundred%.player-height: Cord or Amount, nonpayment 320.possibilities: Things - alternatives to pass to Vimeo.Player.video-id: Cord, needed.loophole: Boolean.autoplay: Boolean.Methods.update( videoID): Recreates the Vimeo gamer with the supplied ID.play().time out().mute().unmute().Activities.Occasions sent out coming from the component.The all set activity merely passes the player occasion.
If you are interested for even more or even you possess any type of pests as well as suggestions, click on this link. That's it!Developed and also submitted by @dmhristov.