Npm
npm i vue-videohover
Yarn
yarn add vue-videohover
import videoHover from 'vue-videohover'
Property | Type | Default | Description |
---|---|---|---|
source | String | " " | Video source |
type | String | "video/mp4" | Video type |
muted | Boolean | true | Video muted |
controls | Boolean | false | Video control panel |
width | Number | 500 | Video width |
height | Number | 500 | Video height |
cd vue-videohover
Npm
npm install npm run serve
Yarn
yarn install yarn run serve
Go to
http://localhost:8080