Sleep

Vue. js cover for Vimeo Embed Player

.Vue.js cover for Vimeo player.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Player, which enables you to make use of the Vimeo player as a Vue part comfortably, despite having Nuxt.js SSR.Look at the instance listed below.Example.To start collaborating with the Vue vimeo gamer make use of the following demand to install it.npm mount vue-vimeo-player-- save.OR.anecdote incorporate vue-vimeo-player.of bunch it using CDN.If made use of as a global component.import Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a local component.// In a component.bring in vueVimeoPlayer from 'vue-vimeo-player'.export default ,.parts: vueVimeoPlayer-|-|-|-random-}For use with Nuxt.js feel free to refer listed below.Props.player-width: String or Number, default 100%.player-height: Strand or Amount, nonpayment 320.choices: Things - options to pass to Vimeo.Player.video-id: Strand, required.loophole: Boolean.autoplay: Boolean.Approaches.improve( videoID): Recreates the Vimeo gamer with the offered i.d..play().pause().mute().unmute().Occasions.Celebrations discharged coming from the component.The prepared occasion just passes the player circumstances.
If you are actually interested for more or even you have any type of pests as well as pointers, click here. That's it!Produced and also provided through @dmhristov.

Articles You Can Be Interested In