StreamPicker

StreamPicker - loads a new stream upon dropdown selection.

Source:
Properties:
Name Type Description
selectors object

DOM query selectors

states object

css classes representing states of the player and stream picker control

isOpened boolean

whether or not the select dropdown is opened

$player HTMLElement

the video player DOM element

$control HTMLElement

the stream picker control DOM element

Methods

(inner) hide()

Source:

Show the animated stream picker control.

(inner) init()

Source:

Bind change event to Stream picker dropdown, Show / hide the stream picker control with video player controls.

(inner) show()

Source:

Hide the animated stream picker control.

(inner) showOrHide()

Source:

Show / hide the animated stream picker control based on the video player state.