Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Gamer, which enables you to utilize the Vimeo player as a Vue element easily, even with Nuxt.js SSR.Check out at the example listed below.Instance.To start collaborating with the Vue vimeo player utilize the complying with demand to mount it.npm put up vue-vimeo-player-- spare.OR.anecdote include vue-vimeo-player.of tons it by means of CDN.If made use of as a global element.bring in Vue coming from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a regional part.// In a component.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.components: vueVimeoPlayer-|-|-|-random-}For usage along with Nuxt.js please refer below.Props.player-width: String or Variety, default 100%.player-height: Cord or even Variety, default 320.options: Things - choices to pass to Vimeo.Player.video-id: Cord, required.loop: Boolean.autoplay: Boolean.Approaches.update( videoID): Creates the Vimeo gamer with the delivered i.d..play().time out().mute().unmute().Activities.Celebrations gave off from the component.The ready celebration just passes the player case.
If you are fascinated for even more or even you possess any kind of bugs as well as pointers, go here. That's it!Developed as well as submitted by @dmhristov.

Articles You Can Be Interested In