Constructor
(export) new Overlay(playernon-null, videoContainernon-null, videonon-null, configopt, non-null)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
player |
shaka.Player | ||
videoContainer |
HTMLElement | ||
video |
HTMLMediaElement | ||
config |
Object |
<optional> |
This should follow the form of shaka.extern.UIConfiguration, but you may omit any field you do not wish to change. |
Members
(private, non-null) config_ :shaka.extern.UIConfiguration
Type:
Methods
(private, static) createUI_(containernon-null, videonon-null, confignon-null) → (non-null) {shaka.ui.Overlay}
Parameters:
Name | Type | Description |
---|---|---|
container |
HTMLElement | |
video |
HTMLMediaElement | |
config |
Object | (Possibly partial) config in the form of shaka.extern.UIConfiguration |
Returns:
- Type
- shaka.ui.Overlay