@kendam wrote:
I am trying to create multiple instance of audio files dynamically using Media plugin
single instance looks like this
const file: MediaObject = this.media.create('file.mp3');
how do I create a dynamic variable of type MediaObject. Thanks as always
I needed to append something to the file like this dynamically
const file1: MediaObject = this.media.create('file1.mp3'); const file2: MediaObject = this.media.create('file2.mp3'); const file3: MediaObject = this.media.create('file3.mp3');
what is the best way to handle this.
Posts: 1
Participants: 1