Sleep

Vue. js cover for Vimeo Embed Player

.Vue.js cover for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Player, which allows you to make use of the Vimeo player as a Vue element effortlessly, even with Nuxt.js SSR.Look at the example below.Example.To begin partnering with the Vue vimeo gamer make use of the adhering to demand to mount it.npm set up vue-vimeo-player-- spare.OR.yarn incorporate vue-vimeo-player.of bunch it using CDN.If used as a worldwide element.import Vue from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a regional element.// In an element.bring in vueVimeoPlayer from 'vue-vimeo-player'.export default ,.elements: vueVimeoPlayer-|-|-|-random-}For utilization along with Nuxt.js feel free to refer here.Props.player-width: String or Number, default one hundred%.player-height: String or Amount, nonpayment 320.options: Things - alternatives to exchange Vimeo.Player.video-id: Strand, demanded.loop: Boolean.autoplay: Boolean.Approaches.update( videoID): Creates the Vimeo player with the given i.d..play().pause().mute().unmute().Occasions.Celebrations gave off from the component.The ready celebration merely passes the player occasion.
If you are curious for additional or even you possess any kind of bugs as well as ideas, click on this link. That's it!Produced and submitted by @dmhristov.

Articles You Can Be Interested In