Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is a Vue.js cover for the Vimeo Embed Player, which allows you to use the Vimeo player as a Vue element with ease, despite having Nuxt.js SSR.Check out at the example below.Instance.To begin collaborating with the Vue vimeo gamer make use of the observing command to mount it.npm set up vue-vimeo-player-- conserve.OR.yarn add vue-vimeo-player.of tons it using CDN.If used as a global component.import Vue from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a regional component.// In a component.import vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.elements: vueVimeoPlayer-|-|-|-random-}For utilization along with Nuxt.js satisfy recommend listed below.Props.player-width: Strand or Number, nonpayment one hundred%.player-height: Strand or Variety, nonpayment 320.alternatives: Object - possibilities to pass to Vimeo.Player.video-id: Strand, needed.loop: Boolean.autoplay: Boolean.Methods.update( videoID): Creates the Vimeo player with the provided ID.play().time out().mute().unmute().Events.Events produced coming from the component.The prepared event only passes the gamer case.
If you are actually curious for even more or even you have any sort of bugs and also ideas, click on this link. That's it!Developed and sent through @dmhristov.