1.2.0 • Published 10 months ago

eager-video-player v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

eager-video-player


A modern, visual video player for Vue3. It will bring your videos to life with a customizable and powerful player!

Install

npm install eager-video-player

Global

import Vue from 'vue'
import EagerVideoPlayer from 'eager-video-player'

Vue.use(EagerVideoPlayer /* { default options with global component } */)

Local registration

import EagerVideoPlayer from 'eager-video-player'

export default {
    components: {
        EagerVideoPlayer
    }
}

Props

NameTypeDefaultDescription
srcstringrequiredSource file
autoplaybooleanfalseVideo played when component is load
loopbooleanfalse Play the video again
controlsbooleantrueDisplay controls
maskbooleantrueDisplay the mask on first load
hoverablebooleantrueDisplay the controls at the hover
colorsString, Array'#fbbf24', '#ec4899'Change colors components
themeStringbasicYou can change theme of component: basic, gradient
1.2.0

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago