Class: OffTextTrackMenuItem

OffTextTrackMenuItem

A special menu item for turning off a specific type of text track


new OffTextTrackMenuItem(player [, options])

Create a special menu item to turn off a text track

Parameters:
Name Type Argument Default Description
player Player | Object
options Array.<Object> <optional>

Object of option names and values

options[].kind string <optional>

The kind of text track.

options[].player Object <optional>
player

Player object.

options[].label string <optional>
options[].kind + 'off'

Menu item label.

options[].default bool <optional>
false

Default menu item.

options[].mode string <optional>
disabled

Menu item state.

Extends