Sleep

Vue. js wrapper for Vimeo Embed Player

.Vue.js wrapper for Vimeo gamer.The Vue-vimeo-player is actually a Vue.js wrapper for the Vimeo Embed Gamer, which allows you to make use of the Vimeo gamer as a Vue component easily, despite having Nuxt.js SSR.Look at the example listed below.Instance.To begin dealing with the Vue vimeo player make use of the complying with order to mount it.npm install vue-vimeo-player-- save.OR.anecdote include vue-vimeo-player.of load it via CDN.If utilized as an international part.import Vue coming from 'vue'.bring in vueVimeoPlayer from 'vue-vimeo-player'.Vue.use( vueVimeoPlayer).If made use of as a local element.// In a part.import vueVimeoPlayer coming from 'vue-vimeo-player'.export default ,.elements: vueVimeoPlayer-|-|-|-random-}For usage with Nuxt.js feel free to refer here.Props.player-width: Strand or even Variety, default 100%.player-height: Strand or Number, default 320.possibilities: Item - alternatives to pass to Vimeo.Player.video-id: String, needed.loophole: Boolean.autoplay: Boolean.Methods.upgrade( videoID): Takes on the Vimeo gamer along with the provided ID.play().time out().mute().unmute().Occasions.Events gave off from the component.The all set celebration simply passes the player instance.
If you are interested for additional or even you have any type of bugs as well as pointers, visit this site. That's it!Produced and also provided through @dmhristov.

Articles You Can Be Interested In