Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Gamer, which permits you to utilize the Vimeo player as a Vue component efficiently, despite Nuxt.js SSR.Take a look at the example listed below.Instance.To begin working with the Vue vimeo gamer utilize the adhering to demand to install it.npm put in vue-vimeo-player-- save.OR.yarn add vue-vimeo-player.of tons it via CDN.If used as a worldwide part.import Vue coming from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a local area element.// In an element.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.components: vueVimeoPlayer-|-|-|-random-}For consumption with Nuxt.js please recommend listed here.Props.player-width: Cord or even Number, default 100%.player-height: Cord or Number, nonpayment 320.choices: Object - possibilities to exchange Vimeo.Player.video-id: Cord, called for.loop: Boolean.autoplay: Boolean.Procedures.update( videoID): Takes on the Vimeo player with the provided ID.play().pause().mute().unmute().Celebrations.Events sent out coming from the component.The all set celebration merely passes the gamer case.
If you are intrigued for even more or you possess any kind of insects as well as suggestions, visit this site. That's it!Created and also submitted through @dmhristov.