cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-plugin-media] MadyAkira opened a new issue #277: [Android only] Audio file doesn't play
Date Fri, 01 May 2020 10:58:10 GMT

MadyAkira opened a new issue #277:
URL: https://github.com/apache/cordova-plugin-media/issues/277


   ```
   import {Media, MediaObject} from "@ionic-native/media/ngx";
   
     constructor(
         private media: Media,
     ) { }
   ```
   
   ```
         const mp3file: MediaObject = this.media.create(url);
         mp3file.play();
   ```
   
   On iOs the code above is working properly, however on Android no sound is coming out and
I have no error message.
   
   Any idea ?
   
   _Ionic:
   
      Ionic CLI                     : 5.4.15
      Ionic Framework               : @ionic/angular 5.0.0
      @angular-devkit/build-angular : 0.803.23
      @angular-devkit/schematics    : 8.1.3
      @angular/cli                  : 8.1.3
      @ionic/angular-toolkit        : 2.1.2
   
   Cordova:
   
      Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
      Cordova Platforms : android 8.1.0, browser 6.0.0, ios 5.0.1
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview
4.1.1, (and 11 other plugins)
   
   Utility:
   
      cordova-res                          : not installed
      native-run (update available: 1.0.0) : 0.2.8
   
   System:
   
      Android SDK Tools : 26.1.1 (/Users/merwanropers/Library/Android/sdk)
      ios-deploy        : 1.9.4
      NodeJS            : v14.0.0 (/usr/local/Cellar/node/14.0.0/bin/node)
      npm               : 6.14.4
      OS                : macOS Catalina
      Xcode             : Xcode 11.4 Build version 11E146_


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



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


Mime
View raw message