Sleep

Vue. js cover for Vimeo Embed Player

.Vue.js wrapper for Vimeo player.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Player, which allows you to make use of the Vimeo gamer as a Vue element effortlessly, despite Nuxt.js SSR.Look at the instance listed below.Instance.To start collaborating with the Vue vimeo player use the complying with order to mount it.npm put in vue-vimeo-player-- conserve.OR.yarn incorporate vue-vimeo-player.of bunch it via CDN.If made use of as a worldwide component.bring in Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a local element.// In a component.import vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.elements: vueVimeoPlayer-|-|-|-random-}For utilization with Nuxt.js satisfy refer listed here.Props.player-width: Strand or even Amount, default one hundred%.player-height: Strand or even Amount, nonpayment 320.possibilities: Object - choices to exchange Vimeo.Player.video-id: String, needed.loop: Boolean.autoplay: Boolean.Procedures.improve( videoID): Creates the Vimeo gamer along with the delivered i.d..play().time out().mute().unmute().Activities.Events emitted coming from the component.The all set celebration simply passes the player occasion.
If you are actually curious for additional or you have any insects and also recommendations, visit here. That's it!Created and also submitted by @dmhristov.

Articles You Can Be Interested In