An open API service indexing awesome lists of open source software.

https://github.com/skybrud/sky-video


https://github.com/skybrud/sky-video

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# sky-video

A Vue component for showing videoes.

## List of supported video formats:
- YouTube
- Vimeo
- Dreambroker

## Installation
```bash
npm install sky-video
```
or
```bash
yarn add sky-video
```

## Usage
Begin by importing and installing the SkyVideo Vue plugin
```js
import Vue from 'vue';
import SkyVideo from 'sky-video';

// If you want to use the baseline scss add the following line
import '${YOUR-PROJECT-ROOT-PATH}/node_modules/sky-video/src/v.scss';

Vue.use(SkyVideo);

```

``

- `src` should be a valid Youtube, Vimeo or Dreambroker embed URL.
- `poster` is just a URL to an image.

## Credits

This module is made by the Frontenders at [skybrud.dk](http://www.skybrud.dk/). Feel free to use it in any way you want. Feedback, questions and bugreports should be posted as issues. Pull-requests appreciated!