Module: plugin

Methods

(inner) contextmenu(optionsopt, cancelopt, sensitivityopt, waitopt)

A cross-device context menu implementation for video.js players.

Parameters:
Name Type Attributes Default Description
options Object <optional>
{}
cancel Boolean <optional>
true

Whether or not to cancel the native "contextmenu" event when it is seen.

sensitivity Number <optional>
10

The maximum number of pixels a finger can move because a touch is no longer considered to be "held".

wait Number <optional>
500

The minimum number of milliseconds a touch must be "held" before it registers.

Source: