Sleep

Vue. js cover for Vimeo Embed Player

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Player, which enables you to utilize the Vimeo player as a Vue part with ease, despite Nuxt.js SSR.Take a look at the instance listed below.Instance.To begin collaborating with the Vue vimeo player utilize the following command to install it.npm put in vue-vimeo-player-- conserve.OR.anecdote incorporate vue-vimeo-player.of tons it using CDN.If used as an international part.bring in Vue from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a regional component.// In an element.bring in vueVimeoPlayer from 'vue-vimeo-player'.export default ,.components: vueVimeoPlayer-|-|-|-random-}For consumption with Nuxt.js feel free to recommend right here.Props.player-width: Strand or even Number, nonpayment one hundred%.player-height: Strand or even Variety, default 320.options: Item - possibilities to exchange Vimeo.Player.video-id: String, needed.loop: Boolean.autoplay: Boolean.Strategies.update( videoID): Creates the Vimeo gamer with the given i.d..play().pause().mute().unmute().Celebrations.Celebrations released coming from the component.The all set activity merely passes the gamer instance.
If you are interested for additional or you possess any type of bugs and ideas, visit here. That's it!Produced and also submitted by @dmhristov.

Articles You Can Be Interested In