Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is a Vue.js cover for the Vimeo Embed Player, which enables you to utilize the Vimeo gamer as a Vue component efficiently, even with Nuxt.js SSR.Check out at the example below.Example.To begin collaborating with the Vue vimeo player utilize the observing order to install it.npm mount vue-vimeo-player-- save.OR.anecdote incorporate vue-vimeo-player.of bunch it via CDN.If used as a worldwide element.bring in Vue from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a nearby component.// In a component.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.components: vueVimeoPlayer-|-|-|-random-}For consumption along with Nuxt.js feel free to recommend right here.Props.player-width: Cord or even Number, nonpayment one hundred%.player-height: String or even Variety, default 320.choices: Object - alternatives to pass to Vimeo.Player.video-id: Cord, demanded.loop: Boolean.autoplay: Boolean.Techniques.update( videoID): Recreates the Vimeo gamer with the given i.d..play().time out().mute().unmute().Activities.Occasions released coming from the component.The prepared activity simply passes the player case.
If you are actually curious for even more or even you possess any insects as well as recommendations, visit this site. That's it!Created and provided through @dmhristov.