Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js cover for Vimeo player.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Player, which allows you to utilize the Vimeo player as a Vue element comfortably, despite having Nuxt.js SSR.Check out at the instance below.Example.To begin partnering with the Vue vimeo gamer use the complying with order to mount it.npm put in vue-vimeo-player-- save.OR.anecdote incorporate vue-vimeo-player.of bunch it via CDN.If utilized as a global element.import Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a neighborhood element.// In a part.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.components: vueVimeoPlayer-|-|-|-random-}For utilization with Nuxt.js satisfy recommend here.Props.player-width: Strand or Amount, nonpayment one hundred%.player-height: String or even Number, default 320.possibilities: Object - choices to pass to Vimeo.Player.video-id: Cord, required.loop: Boolean.autoplay: Boolean.Approaches.upgrade( videoID): Takes on the Vimeo gamer with the given ID.play().pause().mute().unmute().Occasions.Events produced coming from the component.The ready celebration only passes the player occasion.
If you are actually fascinated for more or you have any sort of pests as well as suggestions, click here. That's it!Produced and submitted through @dmhristov.