Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js cover for Vimeo player.The Vue-vimeo-player is a Vue.js wrapper for the Vimeo Embed Gamer, which allows you to make use of the Vimeo gamer as a Vue component effortlessly, despite having Nuxt.js SSR.Check out at the example listed below.Example.To begin teaming up with the Vue vimeo player use the adhering to command to install it.npm put in vue-vimeo-player-- spare.OR.yarn incorporate vue-vimeo-player.of bunch it via CDN.If utilized as a worldwide component.bring in Vue from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a regional component.// In an element.import vueVimeoPlayer from 'vue-vimeo-player'.export default ,.components: vueVimeoPlayer-|-|-|-random-}For consumption along with Nuxt.js satisfy recommend here.Props.player-width: Cord or even Amount, default 100%.player-height: String or Amount, nonpayment 320.options: Item - options to pass to Vimeo.Player.video-id: Cord, demanded.loop: Boolean.autoplay: Boolean.Procedures.improve( videoID): Takes on the Vimeo player with the supplied ID.play().time out().mute().unmute().Occasions.Activities gave off from the component.The all set activity simply passes the player occasion.
If you are curious for more or even you possess any insects and also pointers, go here. That's it!Generated as well as submitted through @dmhristov.

Articles You Can Be Interested In