Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js cover for Vimeo player.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Gamer, which permits you to utilize the Vimeo gamer as a Vue component easily, despite having Nuxt.js SSR.Take a look at the example listed below.Example.To start dealing with the Vue vimeo player make use of the following order to install it.npm mount vue-vimeo-player-- conserve.OR.anecdote add vue-vimeo-player.of tons it using CDN.If used as an international element.import Vue from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a local element.// In a component.import vueVimeoPlayer from 'vue-vimeo-player'.export nonpayment ,.components: vueVimeoPlayer-|-|-|-random-}For consumption along with Nuxt.js please recommend right here.Props.player-width: Cord or Number, default 100%.player-height: Strand or even Number, default 320.options: Item - options to exchange Vimeo.Player.video-id: Strand, needed.loophole: Boolean.autoplay: Boolean.Methods.update( videoID): Creates the Vimeo gamer along with the delivered ID.play().time out().mute().unmute().Events.Events produced from the component.The prepared celebration only passes the gamer case.
If you are curious for even more or even you possess any sort of pests and suggestions, visit this site. That's it!Made as well as provided through @dmhristov.