Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
/ vue3-player-video Public archive

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

Notifications You must be signed in to change notification settings

enzostvs/vue3-player-video

Repository files navigation

vue3-player-video


VueJS TailwindCSS

NPM

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

If you have a problem, don't hesitate to create an issue :)

Exemple

Install

npm install vue3-player-video

Global

import Vue from 'vue'
import VuePlayerVideo from 'vue3-player-video'

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

Local registration

import VuePlayerVideo from 'vue3-player-video'

export default {
  components: {
    VuePlayerVideo
  }
}

Props

Name Type Default Description
src string required Source file
autoplay boolean false Video played when component is load
loop boolean false  Play the video again
controls boolean true Display controls
mask boolean true Display the mask on first load
hoverable boolean true Display the controls at the hover
colors String, Array ['#fbbf24', '#ec4899'] Change colors components
theme String basic You can change theme of component: basic, gradient

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published