Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Gamer, which permits you to make use of the Vimeo gamer as a Vue part comfortably, despite having Nuxt.js SSR.Take a look at the example below.Example.To begin working with the Vue vimeo player make use of the following demand to mount it.npm install vue-vimeo-player-- save.OR.yarn add vue-vimeo-player.of lots it by means of CDN.If utilized as an international part.import Vue from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a nearby part.// In a part.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.elements: vueVimeoPlayer-|-|-|-random-}For usage along with Nuxt.js please refer below.Props.player-width: Strand or Amount, default one hundred%.player-height: Strand or even Variety, default 320.possibilities: Things - possibilities to exchange Vimeo.Player.video-id: Strand, needed.loophole: Boolean.autoplay: Boolean.Procedures.update( videoID): Takes on the Vimeo gamer with the provided i.d..play().time out().mute().unmute().Celebrations.Occasions produced from the component.The all set celebration simply passes the player instance.
If you are interested for additional or you have any kind of bugs and also suggestions, click on this link. That's it!Generated and also sent by @dmhristov.