Show:
Constructor
new MediaDialog(config)
...
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
config |
Object |
Properties
|
- Source:
Extends
Methods
play()
Initiate playback of the video element.
Initiate playback of the video element. Loads the JS playback interface and triggers play
Note: because of autoplay restrictions, this needs to triggered after a click, for audio to work.
- Source:
stop()
Call this method to stop playback and to cleanup the player after closing the dialog.
Call this method to stop playback and to cleanup the player after closing the dialog
- Source: