Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Player, which permits you to use the Vimeo player as a Vue part with ease, despite Nuxt.js SSR.Check out at the instance below.Example.To begin teaming up with the Vue vimeo gamer make use of the complying with order to install it.npm install vue-vimeo-player-- spare.OR.yarn include vue-vimeo-player.of bunch it using CDN.If made use of as a worldwide part.bring in Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a local component.// In a component.bring in vueVimeoPlayer from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For usage along with Nuxt.js feel free to recommend here.Props.player-width: Strand or Variety, nonpayment one hundred%.player-height: Strand or even Variety, default 320.alternatives: Things - options to pass to Vimeo.Player.video-id: Cord, called for.loophole: Boolean.autoplay: Boolean.Approaches.upgrade( videoID): Takes on the Vimeo player with the offered i.d..play().pause().mute().unmute().Activities.Celebrations released coming from the component.The ready event only passes the player case.
If you are interested for even more or you possess any sort of insects and also recommendations, visit this site. That's it!Created as well as provided by @dmhristov.

Articles You Can Be Interested In