Members
(private) _identfierClass :string
CSS class to identify the video element (avoid conflicts with other videos)
Type:
- string
- Source:
(private) _stream :EmbedVideo.LiveStream
Type:
- Source:
(private) _video :HTMLVideoElement
Type:
- HTMLVideoElement
- Source:
Methods
getVideoClass(element) → (nullable) {string}
Fetch the slide specific style class for the video element
from the data-video
attribute.
Parameters:
Name | Type | Description |
---|---|---|
element |
HTMLElement |
- Source:
Returns:
- Type
- string
isEnabled() → {boolean}
is video the video display enabled
- Source:
Returns:
- Type
- boolean
toggle() → {boolean}
enabled/disable the video display
- Source:
Returns:
- Type
- boolean
update()
Update plugin status in DOM
- Source:
Type Definitions
Options
Properties:
Name | Type | Description |
---|---|---|
enabled |
boolean | Enable the plugin on startup |
persistent |
boolean | Keep stream active on disable |
path |
string | Script path |
- Source: