Sleep

Vue. js cover for Vimeo Embed Gamer

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Gamer, which enables you to make use of the Vimeo player as a Vue element easily, even with Nuxt.js SSR.Have a look at the example below.Instance.To start working with the Vue vimeo gamer utilize the following order to install it.npm mount vue-vimeo-player-- spare.OR.yarn add vue-vimeo-player.of bunch it by means of CDN.If made use of as an international part.import Vue coming from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local element.// In an element.import vueVimeoPlayer from 'vue-vimeo-player'.export default ,.components: vueVimeoPlayer-|-|-|-random-}For consumption with Nuxt.js satisfy recommend below.Props.player-width: String or even Variety, nonpayment 100%.player-height: Cord or even Variety, default 320.choices: Object - choices to exchange Vimeo.Player.video-id: String, demanded.loop: Boolean.autoplay: Boolean.Techniques.update( videoID): Creates the Vimeo gamer with the delivered i.d..play().time out().mute().unmute().Events.Occasions discharged from the component.The prepared celebration simply passes the player circumstances.
If you are actually interested for even more or even you possess any type of insects and tips, visit here. That's it!Made as well as sent through @dmhristov.

Articles You Can Be Interested In