Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js cover for Vimeo player.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Player, which enables you to make use of the Vimeo player as a Vue element efficiently, despite having Nuxt.js SSR.Check out at the example listed below.Example.To begin teaming up with the Vue vimeo player utilize the complying with command to mount it.npm set up vue-vimeo-player-- conserve.OR.anecdote add vue-vimeo-player.of lots it via CDN.If utilized as an international part.import Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a nearby element.// In a component.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For consumption along with Nuxt.js please refer right here.Props.player-width: Strand or even Amount, nonpayment one hundred%.player-height: Cord or even Variety, nonpayment 320.choices: Object - alternatives to exchange Vimeo.Player.video-id: Cord, called for.loophole: Boolean.autoplay: Boolean.Methods.upgrade( videoID): Recreates the Vimeo gamer along with the delivered i.d..play().time out().mute().unmute().Celebrations.Occasions produced coming from the component.The all set celebration merely passes the gamer case.
If you are fascinated for more or you possess any kind of pests as well as pointers, click here. That's it!Generated and also submitted by @dmhristov.

Articles You Can Be Interested In