This projects has a set of Vue 2 components with documentation and ready to use for Evaluar Projects only.
The Peer Dependencies are Vue ^2 only
yarn add ev-components-vue
or
npm i ev-components-vue
import { EvVideoPlayer } from 'ev-components-vue'
<EvVideoPlayer :id="id" :token="token" :config="config" />
The config prop is optional and all of it's key props, it uses spread operator to concatenate extra configuration. To know all options for Video Player visit it's documentation at: Artplayer.js
config: {
request: {
headers: { 'PROVIDER_REALM': 'EV_EXTERNAL' },
body: {},
},
player: {
title: 'Video',
}
},