# videojs-contrib-quality-levels [![Build Status](https://travis-ci.org/videojs/videojs-contrib-quality-levels.svg?branch=master)](https://travis-ci.org/videojs/videojs-contrib-quality-levels) [![Greenkeeper badge](https://badges.greenkeeper.io/videojs/videojs-contrib-quality-levels.svg)](https://greenkeeper.io/) [![Slack Status](http://slack.videojs.com/badge.svg)](http://slack.videojs.com) [![NPM](https://nodei.co/npm/videojs-contrib-quality-levels.png?downloads=true&downloadRank=true)](https://nodei.co/npm/videojs-contrib-quality-levels/) A plugin that provides a framework of working with source quality levels. Maintenance Status: Stable - [Installation](#installation) - [Installation](#installation-1) - [Using](#using) - [Supporting Quality Levels for your source](#supporting-quality-levels-for-your-source) - [Populating the list](#populating-the-list) - [Triggering the 'change' event](#triggering-the-change-event) - [Supported Projects](#supported-projects) - [Including the Plugin](#including-the-plugin) - [` ``` ### Browserify When using with Browserify, install videojs-contrib-quality-levels via npm and `require` the plugin as you would any other module. ```js var videojs = require('video.js'); // The actual plugin function is exported by this module, but it is also // attached to the `Player.prototype`; so, there is no need to assign it // to a variable. require('videojs-contrib-quality-levels'); var player = videojs('my-video'); player.qualityLevels(); ``` ### RequireJS/AMD When using with RequireJS (or another AMD library), get the script in whatever way you prefer and `require` the plugin as you normally would: ```js require(['video.js', 'videojs-contrib-quality-levels'], function(videojs) { var player = videojs('my-video'); player.qualityLevels(); }); ``` ## License Apache-2.0. Copyright (c) Brightcove, Inc. [videojs]: http://videojs.com/