Sleep

Vue. js cover for Vimeo Embed Player

.Vue.js wrapper for Vimeo gamer.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 with ease, despite having Nuxt.js SSR.Have a look at the instance listed below.Instance.To begin teaming up with the Vue vimeo gamer use the following command to mount it.npm set up vue-vimeo-player-- conserve.OR.anecdote include vue-vimeo-player.of tons it using CDN.If utilized as a worldwide element.bring in Vue from 'vue'.bring in vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local component.// In a component.import vueVimeoPlayer from 'vue-vimeo-player'.export nonpayment ,.elements: vueVimeoPlayer-|-|-|-random-}For utilization with Nuxt.js satisfy refer below.Props.player-width: Strand or Number, nonpayment 100%.player-height: String or even Amount, nonpayment 320.options: Things - choices to pass to Vimeo.Player.video-id: String, required.loophole: Boolean.autoplay: Boolean.Procedures.improve( videoID): Creates the Vimeo player with the provided ID.play().pause().mute().unmute().Occasions.Celebrations produced coming from the component.The all set activity simply passes the gamer instance.
If you are actually fascinated for more or even you possess any kind of insects and suggestions, click on this link. That's it!Created as well as provided by @dmhristov.

Articles You Can Be Interested In