Context Menu Options

About Videojs Context Menu

Native context pop-up menu when you right click over player is replaced by custom Nuevo simple menu with 3 basic options (play/pause, mute/unmute and full screen), optional video URL to copy and branding link. You can replace Nuevo branding link with own brand.

Switch off context Menu completely

Code snippet
<script>
var player = videojs();
player.nuevo({
contextMenu: false
});
</script>

Setup own branding link

Code snippet
<script>
var player = videojs();
player.nuevo({
contextUrl: 'https://www.wikipedia.com',
contextText: '© Wikipedia.com',
});
</script>

Branding link with favicon

Code snippet
<script>
var player = videojs();
player.nuevo({
contextUrl: 'https://www.wikipedia.com',
contextText: 'Wikipedia.com',
contextIcon: '//www.wikipedia.org/static/favicon/wikipedia.ico',
});
</script>

Use browser's default context menu

Code snippet
<script>
var player = videojs();
player.nuevo({
contextMenu: "default"
});
</script>

By defining url nuevo plugin's option, you will enable Copy video URL context menu item, just like in example above.
Code snippet
<script>
var player = videojs();
player.nuevo({ url: "https://video-url-address" })
</script>