Skip to content

Commit

Permalink
feat(levels): Added documentation about new way to config controls
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa8626 committed Sep 23, 2019
1 parent dd2eb33 commit 58814f3
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ var player = new OpenPlayer('[player ID]', [valid VAST/VPAID URL|List of VAST/VP
startTime,
// Allow loader to be displayed when loading video (by default, `false`)
showLoaderOnInit,
// Controls configuration by default; `levels` can be added as well
controls: {
left: ['play', 'time', 'volume'],
middle: ['progress'],
right: ['levels', 'captions', 'settings', 'fullscreen'],
},
ads: {
// Custom path/URL to IMA SDK
url,
Expand Down Expand Up @@ -200,9 +206,9 @@ In addition to the list above, [HLS events](https://github.com/video-dev/hls.js/

1. [No configuration (only using classes)](https://codepen.io/rafa8626/pen/WaNxNB)
2. [Minimal configuration](https://codepen.io/rafa8626/pen/BqazxX)
4. [Using Ads](https://codepen.io/rafa8626/pen/vVYKav)
5. [Playing HLS streaming](https://codepen.io/rafa8626/pen/QZWEVy)
6. [M(PEG)-DASH with Ads](https://codepen.io/rafa8626/pen/Xxjmra)
3. [Using Ads](https://codepen.io/rafa8626/pen/vVYKav)
4. [Playing HLS streaming](https://codepen.io/rafa8626/pen/QZWEVy)
5. [M(PEG)-DASH with Ads](https://codepen.io/rafa8626/pen/Xxjmra)

## Built With

Expand All @@ -214,10 +220,10 @@ Make sure you check [Conventional Commits Standards](https://conventionalcommits

## Authors

* **Rafael Miranda** - *Initial work* - [rafa8626](https://github.com/rafa8626)
* **Rafael Miranda** - [rafa8626](https://github.com/rafa8626)

See also the list of [contributors](https://github.com/openplayerjs/openplayerjs/contributors) who participated in this project.

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.

0 comments on commit 58814f3

Please sign in to comment.