Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Gamer, which permits you to use the Vimeo player as a Vue part comfortably, despite having Nuxt.js SSR.Look at the example listed below.Example.To begin partnering with the Vue vimeo player utilize the complying with command to mount it.npm set up vue-vimeo-player-- spare.OR.anecdote add vue-vimeo-player.of tons it by means of CDN.If utilized as an international part.bring in Vue coming from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a neighborhood component.// In an element.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.parts: vueVimeoPlayer-|-|-|-random-}For usage along with Nuxt.js please recommend here.Props.player-width: Cord or Variety, default 100%.player-height: String or even Number, default 320.choices: Object - possibilities to exchange Vimeo.Player.video-id: Cord, called for.loophole: Boolean.autoplay: Boolean.Strategies.update( videoID): Recreates the Vimeo gamer along with the supplied i.d..play().pause().mute().unmute().Events.Occasions gave off coming from the component.The prepared celebration just passes the player circumstances.
If you are actually intrigued for even more or even you have any kind of pests as well as ideas, click here. That's it!Created as well as sent by @dmhristov.