Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js cover for Vimeo player.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Gamer, which enables you to make use of the Vimeo gamer as a Vue part easily, despite Nuxt.js SSR.Have a look at the instance listed below.Instance.To begin working with the Vue vimeo gamer use the following demand to install it.npm put in vue-vimeo-player-- save.OR.anecdote include vue-vimeo-player.of tons it using CDN.If used as a global component.bring in Vue from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a local area element.// In a part.import vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For consumption with Nuxt.js satisfy recommend here.Props.player-width: Cord or Number, nonpayment one hundred%.player-height: Strand or Amount, nonpayment 320.possibilities: Things - alternatives to pass to Vimeo.Player.video-id: Cord, needed.loop: Boolean.autoplay: Boolean.Procedures.upgrade( videoID): Recreates the Vimeo player with the supplied i.d..play().time out().mute().unmute().Events.Events gave off from the component.The prepared occasion only passes the gamer circumstances.
If you are actually fascinated for even more or even you possess any sort of insects and tips, go here. That's it!Generated and provided by @dmhristov.