Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Gamer, which enables you to utilize the Vimeo player as a Vue element comfortably, despite Nuxt.js SSR.Check out at the example listed below.Instance.To start dealing with the Vue vimeo player utilize the adhering to demand to mount it.npm mount vue-vimeo-player-- conserve.OR.yarn add vue-vimeo-player.of lots it using CDN.If used as a worldwide component.import Vue from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local part.// In an element.bring in vueVimeoPlayer from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For usage with Nuxt.js please recommend listed below.Props.player-width: String or Variety, default 100%.player-height: Strand or Number, default 320.alternatives: Item - alternatives to exchange Vimeo.Player.video-id: Strand, required.loophole: Boolean.autoplay: Boolean.Procedures.update( videoID): Takes on the Vimeo gamer with the offered i.d..play().time out().mute().unmute().Events.Activities sent out from the component.The ready activity just passes the player instance.
If you are intrigued for additional or you have any pests as well as recommendations, go here. That's it!Generated and also sent through @dmhristov.