Class: BitrateMenuItem

BitrateMenuItem


new BitrateMenuItem(player [, options])

The specific menu item type for selecting a bitrate

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

Extends

  • MenuItem

Methods


bitrateChanged( [event], data)

Handle bitrateChanged

Parameters:
Name Type Argument Description
event EventTarget~Event <optional>
data Object

dispose()

dispose BitrateMenuItem


handleClick( [event])

Handle click on audio track

Parameters:
Name Type Argument Description
event EventTarget~Event <optional>

Class: BitrateMenuItem

BitrateMenuItem


new BitrateMenuItem(player [, options])

Create a BitrateMenuItem button

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

Methods


bitrateChanged( [event], data)

Handle bitrateChanged

Parameters:
Name Type Argument Description
event EventTarget~Event <optional>
data Object

dispose()

dispose BitrateMenuItem


handleClick( [event])

Handle click on audio track

Parameters:
Name Type Argument Description
event EventTarget~Event <optional>