Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js cover for Vimeo player.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 effortlessly, even with Nuxt.js SSR.Check out at the instance below.Example.To start collaborating with the Vue vimeo gamer use the observing demand to install it.npm put in vue-vimeo-player-- conserve.OR.yarn add vue-vimeo-player.of bunch it via CDN.If made use of as an international component.import Vue from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a neighborhood element.// In a part.import vueVimeoPlayer from 'vue-vimeo-player'.export default ,.elements: vueVimeoPlayer-|-|-|-random-}For use with Nuxt.js feel free to recommend listed below.Props.player-width: Cord or Amount, nonpayment one hundred%.player-height: Strand or even Number, nonpayment 320.possibilities: Things - possibilities to exchange Vimeo.Player.video-id: Cord, needed.loop: Boolean.autoplay: Boolean.Strategies.update( videoID): Creates the Vimeo player along with the offered i.d..play().time out().mute().unmute().Occasions.Activities gave off coming from the component.The all set occasion simply passes the player case.
If you are actually interested for more or you possess any sort of bugs as well as suggestions, visit here. That's it!Generated and also submitted by @dmhristov.

Articles You Can Be Interested In