.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Player, which permits you to use the Vimeo player as a Vue part effortlessly, despite having Nuxt.js SSR.Look at the instance listed below.Example.To start partnering with the Vue vimeo gamer make use of the observing order to mount it.npm mount vue-vimeo-player-- spare.OR.yarn include vue-vimeo-player.of tons it through CDN.If used as a worldwide element.import Vue coming from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a regional element.// In an element.bring in vueVimeoPlayer from 'vue-vimeo-player'.export default ,.elements: vueVimeoPlayer-|-|-|-random-}For utilization with Nuxt.js please refer right here.Props.player-width: String or even Amount, nonpayment one hundred%.player-height: Cord or even Amount, default 320.options: Item - possibilities to pass to Vimeo.Player.video-id: Cord, needed.loop: Boolean.autoplay: Boolean.Strategies.improve( videoID): Takes on the Vimeo gamer with the provided i.d..play().pause().mute().unmute().Occasions.Activities gave off coming from the component.The ready occasion merely passes the player case.
If you are actually interested for more or even you possess any type of bugs as well as tips, go here. That's it!Created as well as provided through @dmhristov.