Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Gamer, which enables you to use the Vimeo gamer as a Vue element effortlessly, even with Nuxt.js SSR.Have a look at the instance listed below.Example.To start collaborating with the Vue vimeo player use the observing demand to install it.npm set up vue-vimeo-player-- save.OR.yarn add vue-vimeo-player.of bunch it by means of CDN.If utilized as an international component.bring in Vue from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local element.// In a part.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.elements: vueVimeoPlayer-|-|-|-random-}For utilization with Nuxt.js satisfy refer listed below.Props.player-width: String or even Amount, default 100%.player-height: String or Amount, nonpayment 320.choices: Object - options to pass to Vimeo.Player.video-id: String, required.loophole: Boolean.autoplay: Boolean.Techniques.update( videoID): Recreates the Vimeo gamer along with the supplied ID.play().time out().mute().unmute().Celebrations.Events produced coming from the component.The prepared event just passes the player circumstances.
If you are actually fascinated for even more or you possess any type of insects and also tips, visit here. That's it!Generated and submitted by @dmhristov.

Articles You Can Be Interested In