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 enables you to utilize the Vimeo gamer as a Vue part comfortably, despite having Nuxt.js SSR.Have a look at the instance below.Instance.To start dealing with the Vue vimeo player make use of the adhering to order to install it.npm install vue-vimeo-player-- save.OR.yarn include vue-vimeo-player.of tons it using CDN.If used as a global component.bring in Vue coming from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a regional part.// In a part.import vueVimeoPlayer from 'vue-vimeo-player'.export default ,.components: vueVimeoPlayer-|-|-|-random-}For use along with Nuxt.js satisfy recommend here.Props.player-width: Strand or even Variety, nonpayment 100%.player-height: Strand or Variety, nonpayment 320.possibilities: Item - options to pass to Vimeo.Player.video-id: Strand, demanded.loop: Boolean.autoplay: Boolean.Techniques.upgrade( videoID): Takes on the Vimeo gamer with the provided ID.play().time out().mute().unmute().Celebrations.Activities released coming from the component.The ready celebration just passes the gamer circumstances.
If you are actually curious for more or you have any bugs as well as pointers, click here. That's it!Created as well as provided through @dmhristov.