https://github.com/skybrud/sky-video
https://github.com/skybrud/sky-video
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skybrud/sky-video
- Owner: skybrud
- License: mit
- Created: 2015-04-24T09:33:32.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T06:46:18.000Z (over 3 years ago)
- Last Synced: 2023-03-24T12:09:22.704Z (over 3 years ago)
- Language: JavaScript
- Size: 447 KB
- Stars: 0
- Watchers: 9
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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!