Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70765

How to play multiple audio sequentially with ionic4 Native Audio

$
0
0

@kendam wrote:

I want to play a list of audio files just after its predecessor is played.

I am able to this manually like this

nativeAudio.play('uniqueId1', () => {
     
       
        nativeAudio.play('uniqueId2', () => {
     
       nativeAudio.play('uniqueId3', () => {
     
       
        
        
      })

        
        
      })
        
      })

I have try to this with loop, but they all played at the same time

Any help will be appreciated

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70765

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>