Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js wrapper 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 player as a Vue part effortlessly, despite Nuxt.js SSR.Have a look at the instance listed below.Instance.To start working with the Vue vimeo player make use of the adhering to order to install it.npm mount vue-vimeo-player-- save.OR.anecdote incorporate vue-vimeo-player.of load it via CDN.If utilized as a worldwide element.import Vue from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a neighborhood element.// In a part.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For use with Nuxt.js feel free to recommend right here.Props.player-width: Cord or Variety, nonpayment one hundred%.player-height: Cord or even Number, default 320.alternatives: Item - alternatives to exchange Vimeo.Player.video-id: Cord, demanded.loophole: Boolean.autoplay: Boolean.Methods.improve( videoID): Recreates the Vimeo player with the delivered ID.play().time out().mute().unmute().Occasions.Occasions discharged from the component.The prepared event just passes the gamer case.
If you are curious for additional or you have any type of bugs and also pointers, click here. That's it!Made and also provided by @dmhristov.