Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is a Vue.js cover for the Vimeo Embed Gamer, which permits you to make use of the Vimeo player as a Vue part efficiently, even with Nuxt.js SSR.Take a look at the instance below.Instance.To begin partnering with the Vue vimeo player use the complying with demand to install it.npm install vue-vimeo-player-- conserve.OR.yarn add vue-vimeo-player.of load it through CDN.If made use of as an international component.bring in Vue from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a local area component.// In an element.import vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.components: vueVimeoPlayer-|-|-|-random-}For usage along with Nuxt.js satisfy refer listed here.Props.player-width: Strand or even Amount, nonpayment 100%.player-height: Strand or even Amount, default 320.choices: Object - choices to exchange Vimeo.Player.video-id: String, required.loophole: Boolean.autoplay: Boolean.Methods.update( videoID): Creates the Vimeo gamer along with the offered i.d..play().time out().mute().unmute().Celebrations.Events sent out coming from the component.The ready activity merely passes the player case.
If you are intrigued for additional or you have any type of insects and tips, click on this link. That's it!Developed and submitted through @dmhristov.