Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Player, which allows you to make use of the Vimeo gamer as a Vue element effortlessly, despite Nuxt.js SSR.Take a look at the instance below.Instance.To start teaming up with the Vue vimeo player use the following command to install it.npm put in vue-vimeo-player-- spare.OR.yarn incorporate vue-vimeo-player.of tons it using CDN.If made use of as a worldwide component.bring in Vue coming from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a neighborhood element.// In a part.bring in vueVimeoPlayer from 'vue-vimeo-player'.export nonpayment ,.components: vueVimeoPlayer-|-|-|-random-}For consumption along with Nuxt.js please recommend below.Props.player-width: Cord or Amount, nonpayment 100%.player-height: String or Variety, default 320.alternatives: Things - alternatives to exchange Vimeo.Player.video-id: Cord, called for.loop: Boolean.autoplay: Boolean.Techniques.improve( videoID): Creates the Vimeo player along with the provided i.d..play().time out().mute().unmute().Activities.Events produced from the component.The prepared activity simply passes the gamer instance.
If you are actually fascinated for additional or even you possess any sort of insects and tips, click here. That's it!Generated and also submitted through @dmhristov.

Articles You Can Be Interested In