0.0.25 • Published 6 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-playeror
yarn add @khusainovrm/nuxt-player2- 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
6 years ago
0.0.24
6 years ago
0.0.23
6 years ago
0.0.20
6 years ago
0.0.21
6 years ago
0.0.22
6 years ago
0.0.19
6 years ago
0.0.18
6 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.15
6 years ago
0.0.14
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago