Work In Progress
yarn add vue-lazy-aparat # npm i vue-lazy-aparat
import LazyAparat from 'vue-lazy-aparat'
@import 'vue-lazy-aparat/dist/style.css';
cover: {
type: String,
required: false,
default: undefined,
},
coverFit: {
type: String,
required: false,
default: 'cover',
},
videoHash: {
type: String,
required: true,
},
videoCaption: {
type: String,
required: false,
default: '',
},
videoDuration: {
type: String,
required: false,
default: '',
},
aspectRatio: {
type: String,
required: false,
default: '16:9',
},
allowFullScreen: {
type: Boolean,
required: false,
default: true,
},
mode: {
type: String,
required: false,
default: 'cover',
},
- Clone the repository
- Install dependencies
yarn install # or npm install
- Run
dev
yarn dev # or npm run dev