Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Player, which enables you to utilize the Vimeo gamer as a Vue component comfortably, despite having Nuxt.js SSR.Check out at the instance listed below.Example.To start collaborating with the Vue vimeo player make use of the following command to mount it.npm put up vue-vimeo-player-- spare.OR.yarn add vue-vimeo-player.of load it using CDN.If utilized as an international component.bring in Vue from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a neighborhood part.// In an element.import vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For use along with Nuxt.js satisfy refer here.Props.player-width: Strand or Variety, default 100%.player-height: String or even Amount, nonpayment 320.options: Item - options to pass to Vimeo.Player.video-id: Strand, demanded.loop: Boolean.autoplay: Boolean.Procedures.improve( videoID): Creates the Vimeo player with the offered ID.play().time out().mute().unmute().Events.Celebrations sent out coming from the component.The prepared occasion just passes the gamer case.
If you are curious for more or you have any kind of pests as well as tips, click on this link. That's it!Generated as well as sent through @dmhristov.