Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js cover for Vimeo player.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Gamer, which enables you to utilize the Vimeo player as a Vue element with ease, despite Nuxt.js SSR.Check out at the instance below.Instance.To begin partnering with the Vue vimeo gamer make use of the observing command to mount it.npm put in vue-vimeo-player-- spare.OR.yarn add vue-vimeo-player.of bunch it using CDN.If utilized as an international component.bring in Vue from 'vue'.import vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local area component.// In a part.import vueVimeoPlayer coming from 'vue-vimeo-player'.export nonpayment ,.parts: vueVimeoPlayer-|-|-|-random-}For utilization along with Nuxt.js feel free to recommend below.Props.player-width: Strand or even Variety, default one hundred%.player-height: Strand or even Number, default 320.choices: Object - options to exchange Vimeo.Player.video-id: Cord, needed.loop: Boolean.autoplay: Boolean.Methods.upgrade( videoID): Takes on the Vimeo player with the supplied ID.play().time out().mute().unmute().Activities.Celebrations gave off coming from the component.The prepared event merely passes the player occasion.
If you are actually curious for additional or even you possess any type of pests and suggestions, click here. That's it!Developed as well as submitted through @dmhristov.

Articles You Can Be Interested In