Sleep

Vue. js wrapper for Vimeo Embed Gamer

.Vue.js cover for Vimeo player.The Vue-vimeo-player is a Vue.js cover for the Vimeo Embed Player, which enables you to make use of the Vimeo player as a Vue part efficiently, despite Nuxt.js SSR.Look at the instance listed below.Instance.To start partnering with the Vue vimeo player utilize the complying with order to mount it.npm put in vue-vimeo-player-- save.OR.yarn incorporate vue-vimeo-player.of load it via CDN.If made use of as a global element.bring in Vue coming from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If used as a regional part.// In a component.import vueVimeoPlayer from 'vue-vimeo-player'.export default ,.components: vueVimeoPlayer-|-|-|-random-}For utilization with Nuxt.js please recommend below.Props.player-width: Strand or Variety, default one hundred%.player-height: Strand or Number, default 320.options: Object - choices to pass to Vimeo.Player.video-id: Cord, called for.loop: Boolean.autoplay: Boolean.Methods.improve( videoID): Recreates the Vimeo gamer along with the supplied i.d..play().pause().mute().unmute().Events.Activities released coming from the component.The ready activity simply passes the gamer case.
If you are fascinated for more or you possess any sort of insects and recommendations, go here. That's it!Generated and sent by @dmhristov.

Articles You Can Be Interested In