Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Player, which allows you to utilize the Vimeo player as a Vue element effortlessly, despite Nuxt.js SSR.Look at the instance listed below.Example.To begin dealing with the Vue vimeo player use the observing order to mount it.npm install vue-vimeo-player-- save.OR.yarn incorporate vue-vimeo-player.of load it via CDN.If made use of as a global component.import Vue coming from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a neighborhood component.// In an element.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For consumption along with Nuxt.js please refer here.Props.player-width: Strand or Amount, nonpayment 100%.player-height: String or even Variety, default 320.possibilities: Object - options to pass to Vimeo.Player.video-id: String, demanded.loop: Boolean.autoplay: Boolean.Techniques.update( videoID): Creates the Vimeo gamer along with the supplied ID.play().time out().mute().unmute().Activities.Occasions sent out coming from the component.The all set activity merely passes the gamer circumstances.
If you are actually curious for more or even you have any sort of pests as well as ideas, visit here. That's it!Made and sent by @dmhristov.