Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js cover for Vimeo player.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Player, which permits you to make use of the Vimeo gamer as a Vue component easily, despite Nuxt.js SSR.Check out at the example below.Example.To start partnering with the Vue vimeo player make use of the complying with order to install it.npm set up vue-vimeo-player-- save.OR.anecdote add vue-vimeo-player.of lots it by means of CDN.If used as a global component.import Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a neighborhood component.// In a part.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For use along with Nuxt.js please refer right here.Props.player-width: String or Amount, default one hundred%.player-height: Cord or Amount, default 320.possibilities: Things - options to exchange Vimeo.Player.video-id: Cord, called for.loop: Boolean.autoplay: Boolean.Methods.upgrade( videoID): Recreates the Vimeo player with the provided i.d..play().pause().mute().unmute().Activities.Occasions discharged coming from the component.The ready occasion simply passes the player occasion.
If you are actually intrigued for additional or you possess any kind of pests and also recommendations, visit this site. That's it!Made and also submitted through @dmhristov.