Constructor
(package) new NativeVideoElementWrapper(options, errorHandler, defaultAudioVolume)
Parameters:
Name |
Type |
Description |
options |
Object
|
Properties
Name |
Type |
Attributes |
Description |
_inject |
Object
|
<optional>
|
injected variables @todo move to DI
Properties
Name |
Type |
Attributes |
Description |
createVideoElement |
function
|
<optional>
|
function used to create video element |
createAudioOnlyVideoElement |
function
|
<optional>
|
function used to create audio only video element |
|
muted |
Boolean
|
<optional>
|
initial mute state |
fallbackText |
String
|
<optional>
|
text to display when not supported |
|
errorHandler |
function
|
callback for when there are errors |
defaultAudioVolume |
Number
|
the initial audio volume |
Members
_blockedVolume :number|undefined
Type:
_domElement :HTMLVideoElement|undefined
Type:
-
HTMLVideoElement
|
undefined
Methods
domElement() → {Element}
Get the underlying DOM video element
Returns:
-
Type
-
Element