Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is a Vue.js cover for the Vimeo Embed Gamer, which allows you to use the Vimeo gamer as a Vue part efficiently, despite having Nuxt.js SSR.Look at the example listed below.Example.To begin teaming up with the Vue vimeo player utilize the adhering to order to mount it.npm put in vue-vimeo-player-- spare.OR.yarn include vue-vimeo-player.of load it through CDN.If utilized as a global element.bring in Vue coming from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a regional part.// In a component.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For use with Nuxt.js feel free to refer below.Props.player-width: Cord or even Number, default one hundred%.player-height: Cord or Amount, nonpayment 320.possibilities: Item - possibilities to pass to Vimeo.Player.video-id: Cord, called for.loophole: Boolean.autoplay: Boolean.Techniques.update( videoID): Creates the Vimeo player along with the supplied ID.play().pause().mute().unmute().Occasions.Activities sent out coming from the component.The all set celebration simply passes the player case.
If you are interested for additional or you have any type of pests and also tips, click on this link. That's it!Generated as well as provided by @dmhristov.