https://github.com/danielrohers/videojs-errors
A video.js plugin to display errors compatible with versions 4.x and 5.x
https://github.com/danielrohers/videojs-errors
Last synced: over 1 year ago
JSON representation
A video.js plugin to display errors compatible with versions 4.x and 5.x
- Host: GitHub
- URL: https://github.com/danielrohers/videojs-errors
- Owner: danielrohers
- License: other
- Created: 2016-04-08T08:15:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-08T08:17:15.000Z (about 10 years ago)
- Last Synced: 2025-01-24T10:47:05.797Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://danielrohers.github.io/videojs-errors
- Size: 3.91 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# videojs-errors
A video.js plugin to display errors compatible with versions 4.x and 5.x
## Installation
[Node.js](https://nodejs.org)
```bash
[sudo] npm install
```
## Starting
Compile files
```bash
gulp dist
```
Watch files
```bash
gulp watch
```
View example
```bash
npm start
```
## Using
```js
var player = videojs('my-video');
// add error
player.errors().add('Ops...');
// remove error
player.errors().remove();
// get error
var error = player.errors().get();
```
## License
[Licence](https://github.com/danielrohers/videojs-errors/blob/master/LICENSE) © Daniel Röhers Moura