Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Gamer, which enables you to make use of the Vimeo player as a Vue component easily, despite having Nuxt.js SSR.Have a look at the example below.Instance.To begin teaming up with the Vue vimeo player utilize the complying with command to install it.npm mount vue-vimeo-player-- conserve.OR.yarn include vue-vimeo-player.of lots it using CDN.If made use of as an international component.bring in Vue from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a nearby component.// In a part.bring in vueVimeoPlayer from 'vue-vimeo-player'.export nonpayment ,.elements: vueVimeoPlayer-|-|-|-random-}For use along with Nuxt.js please refer listed here.Props.player-width: Strand or Variety, nonpayment one hundred%.player-height: Cord or even Variety, nonpayment 320.alternatives: Item - options to exchange Vimeo.Player.video-id: Cord, demanded.loophole: Boolean.autoplay: Boolean.Procedures.improve( videoID): Creates the Vimeo gamer along with the offered ID.play().time out().mute().unmute().Activities.Events produced coming from the component.The prepared celebration simply passes the player circumstances.
If you are actually curious for even more or you have any bugs as well as tips, visit this site. That's it!Generated as well as provided through @dmhristov.

Articles You Can Be Interested In