Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js cover for Vimeo player.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Gamer, which allows you to make use of the Vimeo player as a Vue part effortlessly, despite having Nuxt.js SSR.Check out at the example below.Instance.To begin dealing with the Vue vimeo player use the adhering to command to install it.npm put up vue-vimeo-player-- conserve.OR.anecdote include vue-vimeo-player.of tons it by means of CDN.If used as a worldwide component.import Vue coming from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a nearby part.// In a part.import vueVimeoPlayer from 'vue-vimeo-player'.export nonpayment ,.elements: vueVimeoPlayer-|-|-|-random-}For usage along with Nuxt.js satisfy refer right here.Props.player-width: Cord or Variety, nonpayment 100%.player-height: Strand or Amount, nonpayment 320.choices: Things - possibilities to pass to Vimeo.Player.video-id: String, needed.loophole: Boolean.autoplay: Boolean.Procedures.update( videoID): Creates the Vimeo gamer with the provided i.d..play().time out().mute().unmute().Occasions.Events released coming from the component.The all set occasion only passes the gamer occasion.
If you are actually fascinated for even more or even you have any bugs as well as pointers, visit here. That's it!Developed as well as submitted through @dmhristov.