vue-player

This is a html5 video component made in VueJS with to quickly add videos with placeholders and intros.

Features

  • full control of the player

  • 100% vue

  • no third parties js libs

Usage & Guide

Install it

npm i --save @algoz098/vue-player

Then you import it where you need to use it.

import vuePlayer  from  '@algz098/vue-player'

Now, just tell vue to use it:

Vue.component(vuePlayer)

Or inside a ´.vue´ file:

<script>
	export  default {
		components: {
			vuePlayer
		}
	}
</script>

Now, just use it:

<vue-player src="http://techslides.com/demos/sample-videos/small.mp4" poster="https://via.placeholder.com/150" title="this is a title" v-model="playing"></vue-player>

GitHub