Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Gamer, which enables you to utilize the Vimeo gamer as a Vue component easily, despite Nuxt.js SSR.Have a look at the example listed below.Instance.To begin teaming up with the Vue vimeo gamer use the following command to mount it.npm put up vue-vimeo-player-- save.OR.yarn incorporate vue-vimeo-player.of bunch it via CDN.If made use of as an international component.import Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local element.// In a component.bring in vueVimeoPlayer from 'vue-vimeo-player'.export default ,.components: vueVimeoPlayer-|-|-|-random-}For use with Nuxt.js please refer right here.Props.player-width: String or even Number, nonpayment 100%.player-height: Strand or even Variety, nonpayment 320.choices: Object - alternatives to exchange Vimeo.Player.video-id: Cord, needed.loophole: Boolean.autoplay: Boolean.Strategies.improve( videoID): Creates the Vimeo player with the provided ID.play().time out().mute().unmute().Activities.Occasions sent out coming from the component.The ready event only passes the gamer instance.
If you are intrigued for additional or you possess any bugs and ideas, click here. That's it!Generated and sent by @dmhristov.