0.0.25 • Published 5 years ago
@khusainovrm/nuxt-player v0.0.25
Ucase player
- Ucase nuxt player is a development of Ucase team ucase-io
Setup
1- Install Ucase player module
npm install @khusainovrm/nuxt-player
or
yarn add @khusainovrm/nuxt-player
2- Load @khusainovrm/nuxt-player
module
// nuxt.config.js
export default {
modules: [
['@khusainovrm/nuxt-player', { namespace: 'UcasePlayer', defaultUrl: "someUrl" }],
],
UcasePlayer: { option2: 'something else' },
}
Usage
You have a successfully enabled UcasePlayer in your project. In a Vue component or page use <UcasePlayer />
.
// ~/page/index.vue
<template>
<div>
<UcasePlayer src="yourLink" />
</div>
</template>
Module options
Options provided to module in nuxt.config.js:
Name | Description | Default / Required |
---|---|---|
defaultUrl | String url of a video | String/ Not required |
Component options
Options that can be passed in a <UcasePlayer />
component:
Name | Description | Default / Fallback |
---|---|---|
src | String url of a video | 'https://player.vimeo.com/video/311756540' |
0.0.25
5 years ago
0.0.24
5 years ago
0.0.23
5 years ago
0.0.20
5 years ago
0.0.21
5 years ago
0.0.22
5 years ago
0.0.19
5 years ago
0.0.18
5 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.10
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago