Constructor
new AudioPlayerComponent(dataObjectopt, optionsopt)
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dataObject |
DataObject |
<optional> |
null | ||||||||||||||||
options |
Object |
<optional> |
null |
Properties
|
- Source:
- To Do:
-
- Add an optional progress/shuttle component
- Make this reactive to a DataModel
Example
new AudioPlayerComponent(undefined, { audio: '/static/audio.wav' })