Sleep

Vue. js cover for Vimeo Embed Player

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is a Vue.js cover for the Vimeo Embed Gamer, which permits you to utilize the Vimeo player as a Vue element effortlessly, even with Nuxt.js SSR.Have a look at the example below.Example.To begin collaborating with the Vue vimeo gamer use the adhering to command to mount it.npm put up vue-vimeo-player-- save.OR.anecdote incorporate vue-vimeo-player.of load it through CDN.If utilized as a global component.bring in Vue from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a neighborhood element.// In a component.import vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.parts: vueVimeoPlayer-|-|-|-random-}For consumption along with Nuxt.js feel free to recommend below.Props.player-width: String or Number, default 100%.player-height: String or even Number, nonpayment 320.alternatives: Things - choices to exchange Vimeo.Player.video-id: String, required.loop: Boolean.autoplay: Boolean.Procedures.improve( videoID): Takes on the Vimeo gamer along with the provided i.d..play().pause().mute().unmute().Celebrations.Events emitted from the component.The prepared activity only passes the player circumstances.
If you are actually intrigued for more or even you possess any bugs as well as recommendations, click on this link. That's it!Produced and also submitted by @dmhristov.