Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is a Vue.js cover for the Vimeo Embed Player, which permits you to use the Vimeo player as a Vue component comfortably, despite Nuxt.js SSR.Take a look at the instance below.Example.To begin collaborating with the Vue vimeo player utilize the following order to install it.npm put in vue-vimeo-player-- conserve.OR.anecdote include vue-vimeo-player.of bunch it through CDN.If used as a worldwide element.bring in Vue from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local area element.// In an element.import vueVimeoPlayer from 'vue-vimeo-player'.export default ,.parts: vueVimeoPlayer-|-|-|-random-}For usage along with Nuxt.js feel free to refer here.Props.player-width: Strand or even Amount, default one hundred%.player-height: Strand or Amount, default 320.alternatives: Item - choices to pass to Vimeo.Player.video-id: String, needed.loop: Boolean.autoplay: Boolean.Techniques.update( videoID): Recreates the Vimeo player with the provided i.d..play().time out().mute().unmute().Celebrations.Celebrations gave off from the component.The prepared event merely passes the gamer occasion.
If you are intrigued for additional or you possess any sort of bugs as well as tips, click here. That's it!Produced as well as sent through @dmhristov.

Articles You Can Be Interested In