Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Player, which permits you to utilize the Vimeo gamer as a Vue component comfortably, despite having Nuxt.js SSR.Check out at the instance listed below.Instance.To start partnering with the Vue vimeo gamer utilize the following command to mount it.npm mount vue-vimeo-player-- conserve.OR.yarn include vue-vimeo-player.of bunch it through CDN.If utilized as a worldwide part.bring in Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a nearby component.// In a component.import vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.elements: vueVimeoPlayer-|-|-|-random-}For use along with Nuxt.js please recommend here.Props.player-width: Strand or even Amount, nonpayment one hundred%.player-height: Cord or even Amount, nonpayment 320.choices: Things - possibilities to pass to Vimeo.Player.video-id: Strand, demanded.loop: Boolean.autoplay: Boolean.Procedures.upgrade( videoID): Creates the Vimeo player with the offered ID.play().pause().mute().unmute().Occasions.Celebrations discharged coming from the component.The prepared celebration simply passes the gamer instance.
If you are interested for even more or even you possess any sort of bugs and also recommendations, click here. That's it!Developed as well as sent by @dmhristov.