.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Gamer, which permits you to use the Vimeo player as a Vue element comfortably, even with Nuxt.js SSR.Look at the example listed below.Example.To begin partnering with the Vue vimeo player utilize the observing demand to install it.npm put in vue-vimeo-player-- conserve.OR.yarn incorporate vue-vimeo-player.of tons it using CDN.If utilized as a global part.bring in Vue from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a nearby element.// In a component.bring in vueVimeoPlayer from 'vue-vimeo-player'.export default ,.elements: vueVimeoPlayer-|-|-|-random-}For use with Nuxt.js please recommend here.Props.player-width: String or Number, nonpayment one hundred%.player-height: Strand or Number, nonpayment 320.options: Object - choices to pass to Vimeo.Player.video-id: Cord, required.loophole: Boolean.autoplay: Boolean.Strategies.improve( videoID): Creates the Vimeo gamer with the provided ID.play().time out().mute().unmute().Events.Celebrations sent out coming from the component.The ready event only passes the player occasion.
If you are actually interested for more or even you have any sort of pests and pointers, visit here. That's it!Developed and provided through @dmhristov.