Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Player, which allows you to use the Vimeo player as a Vue part easily, despite having Nuxt.js SSR.Check out at the instance below.Example.To begin teaming up with the Vue vimeo player utilize the following command to install it.npm put up vue-vimeo-player-- save.OR.anecdote add vue-vimeo-player.of bunch it using CDN.If used as a global element.import Vue coming from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a local area component.// In an element.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.parts: vueVimeoPlayer-|-|-|-random-}For utilization along with Nuxt.js feel free to refer here.Props.player-width: Strand or even Number, default 100%.player-height: Strand or even Variety, nonpayment 320.possibilities: Things - possibilities to pass to Vimeo.Player.video-id: Strand, required.loophole: Boolean.autoplay: Boolean.Procedures.upgrade( videoID): Creates the Vimeo gamer with the supplied ID.play().time out().mute().unmute().Occasions.Events sent out coming from the component.The ready event merely passes the player occasion.
If you are actually fascinated for more or you have any insects and also ideas, click on this link. That's it!Made and also submitted by @dmhristov.