Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is a Vue.js cover for the Vimeo Embed Gamer, which permits you to make use of the Vimeo gamer as a Vue part effortlessly, despite Nuxt.js SSR.Look at the example listed below.Example.To start partnering with the Vue vimeo player utilize the complying with order to mount it.npm put up vue-vimeo-player-- conserve.OR.yarn add vue-vimeo-player.of lots it by means of CDN.If used as a global component.import Vue from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a local element.// In a component.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.elements: vueVimeoPlayer-|-|-|-random-}For utilization along with Nuxt.js feel free to recommend here.Props.player-width: Cord or even Number, default 100%.player-height: String or even Number, default 320.possibilities: Things - options to pass to Vimeo.Player.video-id: Cord, required.loop: Boolean.autoplay: Boolean.Methods.update( videoID): Creates the Vimeo gamer along with the delivered ID.play().time out().mute().unmute().Occasions.Activities emitted coming from the component.The prepared occasion merely passes the gamer circumstances.
If you are curious for more or even you possess any kind of bugs and also suggestions, click on this link. That's it!Developed as well as sent by @dmhristov.