Optionaloptions: IMediaPlayerFactoryOptionsCreates an instance of a new media player. Automatically adds the instance to the internal list.
Media file URL.
Optional params.
Instance of a new media player.
Destroys the whole media players and clear the internal list.
Destroys the given instance of media player and removes it from internal list.
The factory to create media player instances. The main goal is to create a linked list of media players that can play one after another in a loop, but never simultaneously.
Example
See
Complete example for MediaPlayerFactory