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 2020/04/01 04:40:58 UTC

[GitHub] [cordova-plugin-media] vasquezdennisalon opened a new issue #276: I don't play audio iOs 13.3.1

vasquezdennisalon opened a new issue #276: I don't play audio iOs 13.3.1
URL: https://github.com/apache/cordova-plugin-media/issues/276
 
 
   # Bug Report
   
   ## Problem
   I can't play the audio from ios, on android it works perfectly but on ios it shows me the following error
   `Error! {"message":"Cannot use audio file from resource 'https://my_server.com/audio.mp3\n'","code":1}`
   
   ## Code that I have implemented
   
   ```
   this.file = this.media.create(url);
   
   					// to listen to plugin events:
   
   					this.file.onStatusUpdate.subscribe(status => {
   						if(status == 2){
   							this.dismissLoading();
   						}
   					}); // fires when this.file status changes
   
   					this.file.onSuccess.subscribe(() => {
   						console.log('Action is successful');
   						this.validateAudio();	
   					});
   
   					this.file.onError.subscribe(error => {
   						console.log('Error!', JSON.stringify(error));
   						this.dismissLoading();
   					});
   ```
   
   
   ## Environment, Platform, Device
   iOs 13.3.1
   
   ### Version information
   cordova-plugin-media 5.0.3 "Media"
   
   Ionic:
   
      Ionic CLI                     : 5.4.16 (/usr/local/lib/node_modules/ionic)
      Ionic Framework               : @ionic/angular 4.8.1
      @angular-devkit/build-angular : 0.801.3
      @angular-devkit/schematics    : 8.1.3
      @angular/cli                  : 8.1.3
      @ionic/angular-toolkit        : 2.0.0
   
   Cordova:
   
      Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
      Cordova Platforms : android 8.1.0, ios 5.1.1
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 11 other plugins)
   
   Utility:
   
      cordova-res (update available: 0.11.0) : 0.9.0
      native-run                             : 0.3.0
   
   System:
   
      ios-deploy : 1.10.0
      ios-sim    : 8.0.2
      NodeJS     : v12.13.0 (/usr/local/bin/node)
      npm        : 6.12.0
      OS         : macOS Catalina
      Xcode      : Xcode 11.3.1 Build version 11C504
   

----------------------------------------------------------------
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


[GitHub] [cordova-plugin-media] timbru31 commented on issue #276: (ios) Audio doesn't play on iOS 13.3.1

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #276: (ios) Audio doesn't play on iOS 13.3.1
URL: https://github.com/apache/cordova-plugin-media/issues/276#issuecomment-607993986
 
 
   With iOS 13.4 released, could you test that version, too?

----------------------------------------------------------------
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


[GitHub] [cordova-plugin-media] vasquezdennisalon commented on issue #276: (ios) Audio doesn't play on iOS 13.3.1

Posted by GitBox <gi...@apache.org>.
vasquezdennisalon commented on issue #276: (ios) Audio doesn't play on iOS 13.3.1
URL: https://github.com/apache/cordova-plugin-media/issues/276#issuecomment-608006207
 
 
   @timbru31 if I also did tests with that of ios but it did not work

----------------------------------------------------------------
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


[GitHub] [cordova-plugin-media] timbru31 commented on issue #276: (ios) Audio doesn't play on iOS 13.3.1

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #276: (ios) Audio doesn't play on iOS 13.3.1
URL: https://github.com/apache/cordova-plugin-media/issues/276#issuecomment-608007415
 
 
   Is this reproducible in a new, plain Cordova app? A minimal reproduction repository would really help to debug and later fix this issue. More information on how to create one: https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md

----------------------------------------------------------------
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