@voltra/vue-player
Version:
A Vue port of react-player: components for playing a variety of URLs including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia, DailyMotion
39 lines (29 loc) • 736 B
Markdown
# vue-player
A Vue port of react-player: components for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia, Mixcloud, DailyMotion and Kaltura.
## Installation
```bash
npm install -S @voltra/vue-player
```
## Usage
### Meta player
Player that automagically delegates to the right player
```javascript
import { VuePlayer } from "@voltra/vue-player"
```
### Specific player
```javascript
import { YouTubePlayer } from "@voltra/vue-player"
```
List of available players:
- DailyMotionPlayer
- FacebookPlayer
- FilePlayer
- KalturaPlayer
- MixcloudPlayer
- SoundcloudPlayer
- StreamablePlayer
- TwitchPlayer
- VidyardPlayer
- VimeoPlayer
- WistiaPlayer
- YouTubePlayer