Sleep

Vue. js cover for Vimeo Embed Player

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Player, which permits you to use the Vimeo player as a Vue part effortlessly, despite Nuxt.js SSR.Have a look at the instance below.Example.To start teaming up with the Vue vimeo gamer make use of the adhering to order to mount it.npm put up vue-vimeo-player-- spare.OR.yarn incorporate vue-vimeo-player.of load it via CDN.If utilized as an international element.import Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local area element.// In a component.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For consumption along with Nuxt.js please recommend listed below.Props.player-width: String or even Variety, default one hundred%.player-height: Strand or Amount, default 320.choices: Things - choices to exchange Vimeo.Player.video-id: Cord, required.loophole: Boolean.autoplay: Boolean.Methods.update( videoID): Takes on the Vimeo player along with the supplied i.d..play().time out().mute().unmute().Activities.Activities sent out coming from the component.The ready activity just passes the gamer occasion.
If you are actually interested for additional or even you possess any type of bugs and tips, go here. That's it!Created and also provided by @dmhristov.