# videojs-contextmenu-ui
**Repository Path**: mirrors_videojs/videojs-contextmenu-ui
## Basic Information
- **Project Name**: videojs-contextmenu-ui
- **Description**: A cross-device context menu UI for video.js players.
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-06-16
- **Last Updated**: 2026-07-25
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# videojs-contextmenu-ui
[](https://travis-ci.org/brightcove/videojs-contextmenu-ui)
[](https://greenkeeper.io/)
[](http://slack.videojs.com)
[](https://nodei.co/npm/videojs-contextmenu-ui/)
A cross-device context menu UI for video.js players.
> **Note:** Versions 4.x and lower of this plugin depended on the [videojs-contextmenu][contextmenu] plugin, but that plugin is not included with it. It must be included separately.
>
> Versions 5.x and newer does not use the videojs-contextmenu plugin, so do not include it. Versions 5.x and newer rely on the native `contextmenu` event.
Maintenance Status: Stable
- [Installation](#installation)
- [Usage](#usage)
- [Options](#options)
- [`content`](#content)
- [`keepInside`](#keepinside)
- [`excludeElements`](#excludeelements)
- [Inclusion](#inclusion)
- [`
```
### CommonJS/Browserify
When using with Browserify, install videojs-contextmenu-ui 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-contextmenu-ui');
var player = videojs('my-video');
player.contextmenuUI();
```
### 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-contextmenu-ui'], function(videojs) {
var player = videojs('my-video');
player.contextmenuUI();
});
```
## License
Apache-2.0. Copyright (c) Brightcove, Inc.
[contextmenu]: https://github.com/brightcove/videojs-contextmenu
[videojs]: http://videojs.com/