Sleep

Vue. js cover for Vimeo Embed Player

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is a Vue.js cover for the Vimeo Embed Player, which allows you to utilize the Vimeo player as a Vue component efficiently, despite Nuxt.js SSR.Have a look at the instance listed below.Instance.To begin teaming up with the Vue vimeo player utilize the adhering to demand to mount it.npm mount vue-vimeo-player-- spare.OR.anecdote incorporate vue-vimeo-player.of bunch it by means of CDN.If utilized as a global element.import Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a nearby part.// In a part.bring in vueVimeoPlayer from 'vue-vimeo-player'.export nonpayment ,.elements: vueVimeoPlayer-|-|-|-random-}For usage along with Nuxt.js satisfy recommend here.Props.player-width: Strand or Amount, default 100%.player-height: Strand or Number, default 320.possibilities: Item - choices to exchange Vimeo.Player.video-id: Cord, demanded.loophole: Boolean.autoplay: Boolean.Methods.upgrade( videoID): Creates the Vimeo gamer along with the provided i.d..play().pause().mute().unmute().Occasions.Celebrations produced from the component.The prepared occasion merely passes the gamer circumstances.
If you are actually fascinated for additional or you have any pests and recommendations, visit this site. That's it!Made and provided by @dmhristov.

Articles You Can Be Interested In