Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Gamer, which permits you to use the Vimeo gamer as a Vue part efficiently, even with Nuxt.js SSR.Check out at the example listed below.Instance.To begin dealing with the Vue vimeo gamer utilize the adhering to command to install it.npm install vue-vimeo-player-- conserve.OR.anecdote incorporate vue-vimeo-player.of lots it via CDN.If utilized as a worldwide part.import Vue coming from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a local part.// In a part.bring in vueVimeoPlayer from 'vue-vimeo-player'.export nonpayment ,.components: vueVimeoPlayer-|-|-|-random-}For utilization with Nuxt.js please refer below.Props.player-width: Cord or Variety, default one hundred%.player-height: String or Variety, nonpayment 320.possibilities: Things - possibilities to pass to Vimeo.Player.video-id: Cord, demanded.loop: Boolean.autoplay: Boolean.Methods.improve( videoID): Recreates the Vimeo player with the supplied ID.play().time out().mute().unmute().Occasions.Events emitted coming from the component.The ready celebration only passes the gamer instance.
If you are actually intrigued for even more or even you have any insects and also pointers, visit here. That's it!Developed as well as submitted by @dmhristov.

Articles You Can Be Interested In