Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Gamer, which permits you to utilize the Vimeo gamer as a Vue element effortlessly, even with Nuxt.js SSR.Check out at the example listed below.Instance.To start collaborating with the Vue vimeo gamer utilize the following demand to mount it.npm put up vue-vimeo-player-- spare.OR.yarn include vue-vimeo-player.of lots it using CDN.If utilized as a global component.import Vue coming from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a regional component.// In a component.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.components: vueVimeoPlayer-|-|-|-random-}For utilization along with Nuxt.js satisfy recommend below.Props.player-width: Strand or Amount, nonpayment one hundred%.player-height: Strand or Variety, default 320.possibilities: Item - options to pass to Vimeo.Player.video-id: String, called for.loophole: Boolean.autoplay: Boolean.Strategies.update( videoID): Takes on the Vimeo gamer along with the offered i.d..play().pause().mute().unmute().Celebrations.Events discharged from the component.The all set occasion simply passes the gamer circumstances.
If you are interested for even more or even you possess any pests and also recommendations, visit here. That's it!Developed and also sent by @dmhristov.