The widget represents a list of media players.
const mediaPlayerList = new MediaPlayerList([{ source: 'audio1.mp3', poster: 'image.jpg' }], { viewElement: '.media-player-list' }); Copy
const mediaPlayerList = new MediaPlayerList([{ source: 'audio1.mp3', poster: 'image.jpg' }], { viewElement: '.media-player-list' });
Use media-player.MediaPlayerFactory instead.
Constructor.
Optional
Destroys all elements and removes all their own event listeners.
Returns the HTML element to render the widget.
Redraws all elements of the list.
The widget represents a list of media players.
Example
Deprecated
Use media-player.MediaPlayerFactory instead.