Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benjipott/videojs-hlsjs
Hls.js plugin for videojs
https://github.com/benjipott/videojs-hlsjs
Last synced: 4 months ago
JSON representation
Hls.js plugin for videojs
- Host: GitHub
- URL: https://github.com/benjipott/videojs-hlsjs
- Owner: benjipott
- License: other
- Created: 2015-09-25T04:46:47.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-09T14:01:21.000Z (almost 9 years ago)
- Last Synced: 2024-06-22T20:21:16.260Z (6 months ago)
- Language: JavaScript
- Size: 1.58 MB
- Stars: 79
- Watchers: 8
- Forks: 31
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE-Apache-2.0
Awesome Lists containing this project
README
# Videojs Hls.js
A revolutionary plugin for video.js
## Getting Started
Once you've added the plugin script to your page, you can use it with any video:
```html
videojs(document.querySelector('video'));
```
There's also a [working example](example.html) of the plugin you can check out if you're having trouble.
## Documentation
### Tech OptionsYou may pass in an options object to the plugin upon initialization. This
object may contain any of the following properties:#### option
debug: false,
autoStartLoad: false,
maxBufferLength: 30,
maxBufferSize: 60 * 1000 * 1000,
enableWorker: true,
fragLoadingTimeOut: 20000,
fragLoadingMaxRetry: 6,
fragLoadingRetryDelay: 500,
manifestLoadingTimeOut: 10000,
manifestLoadingMaxRetry: 6,
manifestLoadingRetryDelay: 500,
fpsDroppedMonitoringPeriod: 5000,
fpsDroppedMonitoringThreshold: 0.2,
appendErrorMaxRetry: 200,An example boolean option that has no effect.
## Release History
- 0.1.0: Initial release