Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Player, which allows you to utilize the Vimeo player as a Vue element with ease, despite Nuxt.js SSR.Have a look at the example listed below.Example.To begin dealing with the Vue vimeo gamer make use of the complying with order to install it.npm set up vue-vimeo-player-- save.OR.anecdote include vue-vimeo-player.of lots it via CDN.If used as a worldwide part.import Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a regional component.// In an element.import vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.elements: vueVimeoPlayer-|-|-|-random-}For consumption with Nuxt.js feel free to refer here.Props.player-width: Cord or Amount, nonpayment one hundred%.player-height: Strand or Number, default 320.choices: Object - possibilities to exchange Vimeo.Player.video-id: Cord, required.loophole: Boolean.autoplay: Boolean.Techniques.upgrade( videoID): Creates the Vimeo gamer along with the given ID.play().time out().mute().unmute().Activities.Activities discharged coming from the component.The prepared occasion merely passes the gamer occasion.
If you are actually fascinated for more or you possess any kind of pests and also pointers, visit here. That's it!Made and sent by @dmhristov.

Articles You Can Be Interested In