Sleep

Vue. js cover for Vimeo Embed Player

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js cover for the Vimeo Embed Player, which allows you to use the Vimeo gamer as a Vue component efficiently, despite Nuxt.js SSR.Look at the example below.Example.To start dealing with the Vue vimeo gamer make use of the observing order to install it.npm install vue-vimeo-player-- save.OR.anecdote include vue-vimeo-player.of load it via CDN.If utilized as a global element.bring in Vue coming from 'vue'.import vueVimeoPlayer coming from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If utilized as a local component.// In a component.bring in vueVimeoPlayer from 'vue-vimeo-player'.export nonpayment ,.components: vueVimeoPlayer-|-|-|-random-}For use with Nuxt.js feel free to recommend below.Props.player-width: Cord or Amount, nonpayment one hundred%.player-height: Strand or even Variety, nonpayment 320.possibilities: Things - possibilities to pass to Vimeo.Player.video-id: Cord, needed.loophole: Boolean.autoplay: Boolean.Strategies.update( videoID): Creates the Vimeo gamer along with the offered i.d..play().pause().mute().unmute().Celebrations.Events produced coming from the component.The all set celebration simply passes the player instance.
If you are actually curious for more or even you have any type of insects and also ideas, click on this link. That's it!Generated and submitted through @dmhristov.

Articles You Can Be Interested In