# vue-nuxt-videoplayer

> vue-nuxt-videoplayer is for playing online and offline videos in any Vue 3.2+ or Nuxt 3+ project. It supports local or most of kind of online video.

Latest version **1.1.1** (published 2024-02-06) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install vue-nuxt-videoplayer
pnpm add vue-nuxt-videoplayer
yarn add vue-nuxt-videoplayer
bun add vue-nuxt-videoplayer
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2024-02-06 |
| First published | 2024-02-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 22.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | ganesh_reddy_k |
| Maintainers | ganeshreddykatla |
| Keywords | mulivideo-player, nuxt3-video-player, v-video-player, vue3-video-player, vue-player, v3-player, video-player, mulivideo-player |

## Links

- npm: https://www.npmjs.com/package/vue-nuxt-videoplayer
- Repository: https://github.com/Ganeshreddykatla/vue-nuxt-video-player
- Homepage: https://github.com/Ganeshreddykatla/vue-nuxt-video-player/blob/main/README.md
- Issues: https://github.com/Ganeshreddykatla/vue-nuxt-video-player/issues
- npm.io page: https://npm.io/package/vue-nuxt-videoplayer

## Dependencies (2)

- [vue](https://npm.io/package/vue.md) ^3.2.13
- [core-js](https://npm.io/package/core-js.md) ^3.8.3

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2024-02-06
- 1.1.0 — 2024-02-06

## README

# nuxt-video-player

### Intro

This player designed for playing online and offline videos in any vue 3.2 + or nuxt 3+ base web page. You can play video
from youtube, vimeo, offline path, and other online video URL.

### Install

```bash
npm install --save vue-nuxt-video-player
```

### How to

```javascript
import Player from 'vue-nuxt-video-player'

require('vue-nuxt-video-player/src/assets/main.css')

components: {
    Player
}
```

```vue

<Player src="your video url or path"/>
```

### Props

All props are optional.

| Name             | Type    | Default      | Required | Description |
| ---              | ---     | ---          | ---      |---          |
| id               | String  | v-player     | false    | With id you can set a unique identifier for each video-player.  |
| src              | String  | null         | true     | In src, you need to enter your video URL or file path for play video. |
| allow (youtube)           | String  | clipboard-write; encrypted-media; gyroscope; picture-in-picture | false | With this, you can set which options in youtube video support. |
| allowFullscreen (youtube)  | Boolean | true         | false    | You can set full-screen mode support or not. |
| containerStyles  | String  | v-player     | false    | You can set a class for custom styling for player container. |
| playerStyles     | String  | v-player__iframe  | false | I create this player with iframe, you can add a class for adding custom styles. |
| autoplay     | Boolean  | false  | false | You can set video autoplay with this. |
| loop     | Boolean  | false  | false | with this, you can set video play again after the end or not. |
| muted     | Boolean  | false  | false | You can enable disable audio with this. |
| poster     | String  | null  | false | You can set custom video poster with this. |
| preload     | String  | 'auto'  | false | You can set video preload with this. |

---
_Source: https://npm.io/package/vue-nuxt-videoplayer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
