Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is a Vue.js cover for the Vimeo Embed Player, which allows you to make use of the Vimeo player as a Vue element with ease, even with Nuxt.js SSR.Take a look at the instance listed below.Instance.To start partnering with the Vue vimeo gamer make use of the observing order to install it.npm set up vue-vimeo-player-- spare.OR.anecdote include vue-vimeo-player.of load it through CDN.If used as a global component.bring in Vue from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a regional part.// In an element.bring in vueVimeoPlayer from 'vue-vimeo-player'.export default ,.components: vueVimeoPlayer-|-|-|-random-}For use with Nuxt.js feel free to recommend here.Props.player-width: Cord or Amount, nonpayment one hundred%.player-height: Strand or Variety, default 320.possibilities: Object - alternatives to pass to Vimeo.Player.video-id: Strand, demanded.loophole: Boolean.autoplay: Boolean.Techniques.update( videoID): Creates the Vimeo gamer along with the supplied i.d..play().time out().mute().unmute().Events.Celebrations sent out coming from the component.The all set celebration simply passes the player instance.
If you are actually interested for even more or you have any kind of pests and also suggestions, visit here. That's it!Made as well as submitted through @dmhristov.