[jira] [Commented] (CB-14120) Playback issues in iOS 11.3/11.4

2018-06-09 Thread Ken Naito (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-14120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16507006#comment-16507006
 ] 

Ken Naito commented on CB-14120:


Hi Bilal Adhi, Muddasir Lakhani,
Thanks for the advices.

I have created my project for this https://github.com/knight/cb-14120 .
This has two functions.

1. downloading three mp3 files via internet.
2. play downloaded mp3 files sequentially.

I checked the project by using iOS 11.4. (Real device iPhone 8)
It seems to work fine.




> Playback issues in iOS 11.3/11.4 
> -
>
> Key: CB-14120
> URL: https://issues.apache.org/jira/browse/CB-14120
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
> Environment: Ionic 3, Angular JS 4
>Reporter: Muddasir Lakhani
>Priority: Blocker
>
> I am trying to play multiple audio tracks one after the other using the Media 
> Plugin.
> On pressing play, I download all the tracks as a zip file, and then play them 
> one after the other until the last track is played. This works fine on 
> Android (all models) and also on iOS up to 11.2. On iOS 11.3 onwards, the 
> next track never starts from the beginning, but from a random duration. So 
> basically if an Album has 4 tracks, first one will play from duration 00:00, 
> and then the next ones will start to play from random duration, and never 
> from 00:00.
> Code Snippet is below:
> {{if (ContainerClass.GetPlatformName() == "android") { this._mFile = 
> this.media.create(this._URL + "/" + AlbumNo + "/" + this._fileName[index]); } 
> else if (ContainerClass.GetPlatformName() == "ios") { this._mFile = 
> this.media.create((this._URL + "/" + AlbumNo + "/" + 
> this._fileName[index]).replace(/^file:\/\//, '')); } 
> this._mFile.onStatusUpdate.subscribe(status => console.log(status)); 
> this._mFile.stop(); this._mFile.play(); ServicesClass._mFile = this._mFile; 
> ServicesClass._isPlaying = 1; ServicesClass._playingAlbumNo = this.AlbumNo; 
> ServicesClass._isPlaying = 1 this._isPlaying = 1; 
> this._mFile.onSuccess.subscribe(result => { index++; this._playingIndex = 
> index; this._mFile.release(); if (ServicesClass._stopPlaying == false) { 
> this.PlayFiles(AlbumNo, index); this.showMp3Player(true); } else { return; } 
> }); this._mFile.onError.subscribe(error => console.log('Error!', 
> JSON.stringify(error))); } }}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14120) Playback issues in iOS 11.3/11.4

2018-06-09 Thread Muddasir Lakhani (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-14120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16506859#comment-16506859
 ] 

Muddasir Lakhani commented on CB-14120:
---

Dear [~knaito],

Thank you for the reply. The MP3 files are fine, as they play across all 
android models, and upto 11.2 as expected.

Only on devices iOS 11.3 onwards the issue comes into play. I upgraded my phone 
to 11.4, and now my live app is causing the same issues on my phone as well, 
similar to what I reported originally.

 

[~bilaladhi], I use my solution with an absolute path; and thats where the 
issue comes in. Works great on iOS 11.3/11.4 simulators; but not on devices. 

> Playback issues in iOS 11.3/11.4 
> -
>
> Key: CB-14120
> URL: https://issues.apache.org/jira/browse/CB-14120
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
> Environment: Ionic 3, Angular JS 4
>Reporter: Muddasir Lakhani
>Priority: Blocker
>
> I am trying to play multiple audio tracks one after the other using the Media 
> Plugin.
> On pressing play, I download all the tracks as a zip file, and then play them 
> one after the other until the last track is played. This works fine on 
> Android (all models) and also on iOS up to 11.2. On iOS 11.3 onwards, the 
> next track never starts from the beginning, but from a random duration. So 
> basically if an Album has 4 tracks, first one will play from duration 00:00, 
> and then the next ones will start to play from random duration, and never 
> from 00:00.
> Code Snippet is below:
> {{if (ContainerClass.GetPlatformName() == "android") { this._mFile = 
> this.media.create(this._URL + "/" + AlbumNo + "/" + this._fileName[index]); } 
> else if (ContainerClass.GetPlatformName() == "ios") { this._mFile = 
> this.media.create((this._URL + "/" + AlbumNo + "/" + 
> this._fileName[index]).replace(/^file:\/\//, '')); } 
> this._mFile.onStatusUpdate.subscribe(status => console.log(status)); 
> this._mFile.stop(); this._mFile.play(); ServicesClass._mFile = this._mFile; 
> ServicesClass._isPlaying = 1; ServicesClass._playingAlbumNo = this.AlbumNo; 
> ServicesClass._isPlaying = 1 this._isPlaying = 1; 
> this._mFile.onSuccess.subscribe(result => { index++; this._playingIndex = 
> index; this._mFile.release(); if (ServicesClass._stopPlaying == false) { 
> this.PlayFiles(AlbumNo, index); this.showMp3Player(true); } else { return; } 
> }); this._mFile.onError.subscribe(error => console.log('Error!', 
> JSON.stringify(error))); } }}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14120) Playback issues in iOS 11.3/11.4

2018-06-09 Thread Bilal Adhi (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-14120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16506842#comment-16506842
 ] 

Bilal Adhi commented on CB-14120:
-

You are using bundle path i mean the mp3 files are in your project could you 
please try it with absolute path? like  1st i download the mp3 file then i 
played it.

> Playback issues in iOS 11.3/11.4 
> -
>
> Key: CB-14120
> URL: https://issues.apache.org/jira/browse/CB-14120
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
> Environment: Ionic 3, Angular JS 4
>Reporter: Muddasir Lakhani
>Priority: Blocker
>
> I am trying to play multiple audio tracks one after the other using the Media 
> Plugin.
> On pressing play, I download all the tracks as a zip file, and then play them 
> one after the other until the last track is played. This works fine on 
> Android (all models) and also on iOS up to 11.2. On iOS 11.3 onwards, the 
> next track never starts from the beginning, but from a random duration. So 
> basically if an Album has 4 tracks, first one will play from duration 00:00, 
> and then the next ones will start to play from random duration, and never 
> from 00:00.
> Code Snippet is below:
> {{if (ContainerClass.GetPlatformName() == "android") { this._mFile = 
> this.media.create(this._URL + "/" + AlbumNo + "/" + this._fileName[index]); } 
> else if (ContainerClass.GetPlatformName() == "ios") { this._mFile = 
> this.media.create((this._URL + "/" + AlbumNo + "/" + 
> this._fileName[index]).replace(/^file:\/\//, '')); } 
> this._mFile.onStatusUpdate.subscribe(status => console.log(status)); 
> this._mFile.stop(); this._mFile.play(); ServicesClass._mFile = this._mFile; 
> ServicesClass._isPlaying = 1; ServicesClass._playingAlbumNo = this.AlbumNo; 
> ServicesClass._isPlaying = 1 this._isPlaying = 1; 
> this._mFile.onSuccess.subscribe(result => { index++; this._playingIndex = 
> index; this._mFile.release(); if (ServicesClass._stopPlaying == false) { 
> this.PlayFiles(AlbumNo, index); this.showMp3Player(true); } else { return; } 
> }); this._mFile.onError.subscribe(error => console.log('Error!', 
> JSON.stringify(error))); } }}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14120) Playback issues in iOS 11.3/11.4

2018-06-09 Thread Ken Naito (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-14120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16506839#comment-16506839
 ] 

Ken Naito commented on CB-14120:


Thanks Bilal Adhi. I have checked it on real devices. (iPhone 5S and iPhone 8)
I used short mp3 files. (each files are about 10 seconds) 
I will try to check this on other devices.

> Playback issues in iOS 11.3/11.4 
> -
>
> Key: CB-14120
> URL: https://issues.apache.org/jira/browse/CB-14120
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
> Environment: Ionic 3, Angular JS 4
>Reporter: Muddasir Lakhani
>Priority: Blocker
>
> I am trying to play multiple audio tracks one after the other using the Media 
> Plugin.
> On pressing play, I download all the tracks as a zip file, and then play them 
> one after the other until the last track is played. This works fine on 
> Android (all models) and also on iOS up to 11.2. On iOS 11.3 onwards, the 
> next track never starts from the beginning, but from a random duration. So 
> basically if an Album has 4 tracks, first one will play from duration 00:00, 
> and then the next ones will start to play from random duration, and never 
> from 00:00.
> Code Snippet is below:
> {{if (ContainerClass.GetPlatformName() == "android") { this._mFile = 
> this.media.create(this._URL + "/" + AlbumNo + "/" + this._fileName[index]); } 
> else if (ContainerClass.GetPlatformName() == "ios") { this._mFile = 
> this.media.create((this._URL + "/" + AlbumNo + "/" + 
> this._fileName[index]).replace(/^file:\/\//, '')); } 
> this._mFile.onStatusUpdate.subscribe(status => console.log(status)); 
> this._mFile.stop(); this._mFile.play(); ServicesClass._mFile = this._mFile; 
> ServicesClass._isPlaying = 1; ServicesClass._playingAlbumNo = this.AlbumNo; 
> ServicesClass._isPlaying = 1 this._isPlaying = 1; 
> this._mFile.onSuccess.subscribe(result => { index++; this._playingIndex = 
> index; this._mFile.release(); if (ServicesClass._stopPlaying == false) { 
> this.PlayFiles(AlbumNo, index); this.showMp3Player(true); } else { return; } 
> }); this._mFile.onError.subscribe(error => console.log('Error!', 
> JSON.stringify(error))); } }}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14120) Playback issues in iOS 11.3/11.4

2018-06-08 Thread Bilal Adhi (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-14120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16506825#comment-16506825
 ] 

Bilal Adhi commented on CB-14120:
-

Did you check it on real device or on simulator? because i checked it on 
simulator of IphoneX (11.3) its working fine but on real device its not working.

> Playback issues in iOS 11.3/11.4 
> -
>
> Key: CB-14120
> URL: https://issues.apache.org/jira/browse/CB-14120
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
> Environment: Ionic 3, Angular JS 4
>Reporter: Muddasir Lakhani
>Priority: Blocker
>
> I am trying to play multiple audio tracks one after the other using the Media 
> Plugin.
> On pressing play, I download all the tracks as a zip file, and then play them 
> one after the other until the last track is played. This works fine on 
> Android (all models) and also on iOS up to 11.2. On iOS 11.3 onwards, the 
> next track never starts from the beginning, but from a random duration. So 
> basically if an Album has 4 tracks, first one will play from duration 00:00, 
> and then the next ones will start to play from random duration, and never 
> from 00:00.
> Code Snippet is below:
> {{if (ContainerClass.GetPlatformName() == "android") { this._mFile = 
> this.media.create(this._URL + "/" + AlbumNo + "/" + this._fileName[index]); } 
> else if (ContainerClass.GetPlatformName() == "ios") { this._mFile = 
> this.media.create((this._URL + "/" + AlbumNo + "/" + 
> this._fileName[index]).replace(/^file:\/\//, '')); } 
> this._mFile.onStatusUpdate.subscribe(status => console.log(status)); 
> this._mFile.stop(); this._mFile.play(); ServicesClass._mFile = this._mFile; 
> ServicesClass._isPlaying = 1; ServicesClass._playingAlbumNo = this.AlbumNo; 
> ServicesClass._isPlaying = 1 this._isPlaying = 1; 
> this._mFile.onSuccess.subscribe(result => { index++; this._playingIndex = 
> index; this._mFile.release(); if (ServicesClass._stopPlaying == false) { 
> this.PlayFiles(AlbumNo, index); this.showMp3Player(true); } else { return; } 
> }); this._mFile.onError.subscribe(error => console.log('Error!', 
> JSON.stringify(error))); } }}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14120) Playback issues in iOS 11.3/11.4

2018-06-07 Thread Ken Naito (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-14120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16505728#comment-16505728
 ] 

Ken Naito commented on CB-14120:


Hmm, perhaps this issue depends on mp3 file itself?

I tried to check following ionic codes, but I cannot reproduce this issue.

home.ts
{code}
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { Media, MediaObject } from '@ionic-native/media';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {

  private _mFile: MediaObject;
  private musicIndex: number;

  private musics = ["A.mp3","B.mp3","C.mp3"];

  constructor(public navCtrl: NavController, private media: Media) {
  }

  playAudioStart() {
this.musicIndex = 0;
this.playAudio();
  }

  playAudio() {

this._mFile = this.media.create('assets/res/' + 
this.musics[this.musicIndex]);

this._mFile.stop();
this._mFile.play();

this._mFile.onSuccess.subscribe(result => {
  this._mFile.release();
  this.musicIndex += 1;
  if (this.musicIndex < this.musics.length) {
this.playAudio();
  } else {
alert("Finished");
  }
})
  }

}
{code}

home.html
{code}
  Primary 
Outline
{code}

My environments are
ionic-cli 3.20.0
 cli-utils 1.19.2

 cordova (cordova-cli) 7.1.0
 @ionic/app-scripts: 3.1.9
 cordova platform: ios 4.5.4
 Ionic Framework (ionic-angular): 3.9.2

I have built project by both Xcode 9.4 and Xcode 9.3.1.
I have confirmed this on iPhone 5S/iOS 11.3.1 and iPhone 8/iOS 11.3.0

Could you please try the above code?

> Playback issues in iOS 11.3/11.4 
> -
>
> Key: CB-14120
> URL: https://issues.apache.org/jira/browse/CB-14120
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
> Environment: Ionic 3, Angular JS 4
>Reporter: Muddasir Lakhani
>Priority: Blocker
>
> I am trying to play multiple audio tracks one after the other using the Media 
> Plugin.
> On pressing play, I download all the tracks as a zip file, and then play them 
> one after the other until the last track is played. This works fine on 
> Android (all models) and also on iOS up to 11.2. On iOS 11.3 onwards, the 
> next track never starts from the beginning, but from a random duration. So 
> basically if an Album has 4 tracks, first one will play from duration 00:00, 
> and then the next ones will start to play from random duration, and never 
> from 00:00.
> Code Snippet is below:
> {{if (ContainerClass.GetPlatformName() == "android") { this._mFile = 
> this.media.create(this._URL + "/" + AlbumNo + "/" + this._fileName[index]); } 
> else if (ContainerClass.GetPlatformName() == "ios") { this._mFile = 
> this.media.create((this._URL + "/" + AlbumNo + "/" + 
> this._fileName[index]).replace(/^file:\/\//, '')); } 
> this._mFile.onStatusUpdate.subscribe(status => console.log(status)); 
> this._mFile.stop(); this._mFile.play(); ServicesClass._mFile = this._mFile; 
> ServicesClass._isPlaying = 1; ServicesClass._playingAlbumNo = this.AlbumNo; 
> ServicesClass._isPlaying = 1 this._isPlaying = 1; 
> this._mFile.onSuccess.subscribe(result => { index++; this._playingIndex = 
> index; this._mFile.release(); if (ServicesClass._stopPlaying == false) { 
> this.PlayFiles(AlbumNo, index); this.showMp3Player(true); } else { return; } 
> }); this._mFile.onError.subscribe(error => console.log('Error!', 
> JSON.stringify(error))); } }}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14120) Playback issues in iOS 11.3/11.4

2018-06-07 Thread Bilal Adhi (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-14120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16504864#comment-16504864
 ] 

Bilal Adhi commented on CB-14120:
-

I am facing the same problem.

1st thing i can not get the duration of media file, then i try to use recursive 
function on (onSuccess) event of mp3 with new file name or index everything is 
fine with Android (any version) and iOS (except 11.3 and 11.4).

*Here are details of my ionic versions*

li packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 2.1.3
Cordova Platforms  : android 6.3.0 ios 4.5.4
Ionic Framework: ionic-angular 3.6.0

System:

ios-deploy : 1.9.2
ios-sim: 5.0.13
Node   : v6.11.0
npm: 3.10.10
OS : macOS High Sierra
Xcode  : Xcode 9.3.1 Build version 9E501

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

> Playback issues in iOS 11.3/11.4 
> -
>
> Key: CB-14120
> URL: https://issues.apache.org/jira/browse/CB-14120
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
> Environment: Ionic 3, Angular JS 4
>Reporter: Muddasir Lakhani
>Priority: Blocker
>
> I am trying to play multiple audio tracks one after the other using the Media 
> Plugin.
> On pressing play, I download all the tracks as a zip file, and then play them 
> one after the other until the last track is played. This works fine on 
> Android (all models) and also on iOS up to 11.2. On iOS 11.3 onwards, the 
> next track never starts from the beginning, but from a random duration. So 
> basically if an Album has 4 tracks, first one will play from duration 00:00, 
> and then the next ones will start to play from random duration, and never 
> from 00:00.
> Code Snippet is below:
> {{if (ContainerClass.GetPlatformName() == "android") { this._mFile = 
> this.media.create(this._URL + "/" + AlbumNo + "/" + this._fileName[index]); } 
> else if (ContainerClass.GetPlatformName() == "ios") { this._mFile = 
> this.media.create((this._URL + "/" + AlbumNo + "/" + 
> this._fileName[index]).replace(/^file:\/\//, '')); } 
> this._mFile.onStatusUpdate.subscribe(status => console.log(status)); 
> this._mFile.stop(); this._mFile.play(); ServicesClass._mFile = this._mFile; 
> ServicesClass._isPlaying = 1; ServicesClass._playingAlbumNo = this.AlbumNo; 
> ServicesClass._isPlaying = 1 this._isPlaying = 1; 
> this._mFile.onSuccess.subscribe(result => { index++; this._playingIndex = 
> index; this._mFile.release(); if (ServicesClass._stopPlaying == false) { 
> this.PlayFiles(AlbumNo, index); this.showMp3Player(true); } else { return; } 
> }); this._mFile.onError.subscribe(error => console.log('Error!', 
> JSON.stringify(error))); } }}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14120) Playback issues in iOS 11.3/11.4

2018-06-07 Thread Ken Naito (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-14120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16504351#comment-16504351
 ] 

Ken Naito commented on CB-14120:


Could you please tell me how to reproduce this issue in detail?

I try to test using following project.
(Cordova 8.0, Cordova-iOS 4.5.4)

However I can't reproduce this issue on both iOS 11.3.1/iPhone5S and iOS 
11.3.0/iPhone8.

JavaScript:
{code:javascript}
var musics = ["A.mp3","B.mp3","C.mp3"];
var musicIndex = 0;
var media = null;
var mediaTimer = null;

function startPlayAudio() {
  musicIndex = 0;
  media = null;
  mediaTimer = null;
  playAudio1();
  var elem = document.getElementById("musicPosition");
  var showMusicPosition = function() {
if (media != null) {
  var dur = media.getDuration();
  media.getCurrentPosition( function(position) {
elem.innerHTML = musics[musicIndex] + " " + position + "/" + dur + " 
[sec]";
  });
}
mediaTimer = setTimeout(showMusicPosition, 250);
  }
  mediaTimer = setTimeout(showMusicPosition, 1);
}

function playAudio1() {
  var url = "res/"+musics[musicIndex];
  media = new Media(url,
function() {
},
function(err) {
},
function(status) {
  if (status === Media.MEDIA_STOPPED) {
media.release();
musicIndex += 1;
if (musicIndex < musics.length) {
  playAudio1();
} else {
  mediaTimer.clearTimeout();
}
  }
}
  );
  media.stop();
  media.play();
}
{code}

HTML:
{code:HTML}
StartPlayAudio


{code}

> Playback issues in iOS 11.3/11.4 
> -
>
> Key: CB-14120
> URL: https://issues.apache.org/jira/browse/CB-14120
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
> Environment: Ionic 3, Angular JS 4
>Reporter: Muddasir Lakhani
>Priority: Blocker
>
> I am trying to play multiple audio tracks one after the other using the Media 
> Plugin.
> On pressing play, I download all the tracks as a zip file, and then play them 
> one after the other until the last track is played. This works fine on 
> Android (all models) and also on iOS up to 11.2. On iOS 11.3 onwards, the 
> next track never starts from the beginning, but from a random duration. So 
> basically if an Album has 4 tracks, first one will play from duration 00:00, 
> and then the next ones will start to play from random duration, and never 
> from 00:00.
> Code Snippet is below:
> {{if (ContainerClass.GetPlatformName() == "android") { this._mFile = 
> this.media.create(this._URL + "/" + AlbumNo + "/" + this._fileName[index]); } 
> else if (ContainerClass.GetPlatformName() == "ios") { this._mFile = 
> this.media.create((this._URL + "/" + AlbumNo + "/" + 
> this._fileName[index]).replace(/^file:\/\//, '')); } 
> this._mFile.onStatusUpdate.subscribe(status => console.log(status)); 
> this._mFile.stop(); this._mFile.play(); ServicesClass._mFile = this._mFile; 
> ServicesClass._isPlaying = 1; ServicesClass._playingAlbumNo = this.AlbumNo; 
> ServicesClass._isPlaying = 1 this._isPlaying = 1; 
> this._mFile.onSuccess.subscribe(result => { index++; this._playingIndex = 
> index; this._mFile.release(); if (ServicesClass._stopPlaying == false) { 
> this.PlayFiles(AlbumNo, index); this.showMp3Player(true); } else { return; } 
> }); this._mFile.onError.subscribe(error => console.log('Error!', 
> JSON.stringify(error))); } }}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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