You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/04 12:10:03 UTC

[GitHub] [cordova-plugin-media] pradip647 commented on issue #244: Multiple audio play at the same time

pradip647 commented on issue #244: Multiple audio play at the same time
URL: https://github.com/apache/cordova-plugin-media/issues/244#issuecomment-508459658
 
 
   I found the solution  - 
   
      file: MediaObject = null;
   
        if (this.file === null){
         this.file = this.media.create(<song url>);
         this.file.play();
       } else {
         if (this.file !== null){
           this.file.stop();
           this.file.release();
           this.file = null;
           this.file = this.media.create(<song url>);
           this.file.play();
         }
       }

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org