[
https://issues.apache.org/jira/browse/CB-10810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197267#comment-15197267
]
Sunny Cupertino commented on CB-10810:
--------------------------------------
Sure.
Please note that I was using Cordova Version 5.4 (so Cordova IOS 3.8.0
(201502XX)) on the Mac, and version 6 on Android (using a windows machine). I
have not tested yet on the mac with version 6.
The Android code was as follows.
audio = new Media("file:///android_asset/www/songs/my_song.ogg", mediaSuccess,
mediaError, mediaStatus);
audio.play();
The iOS code was
audio = new Media("songs/my_song.mp3", mediaSuccess, mediaError, mediaStatus);
audio.play();
> Callbacks on iOS
> ----------------
>
> Key: CB-10810
> URL: https://issues.apache.org/jira/browse/CB-10810
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media
> Environment: Cordova IOS 3.8.0 (201502XX)
> Reporter: Sunny Cupertino
> Labels: iOS, triaged
>
> Both version 2.2.1 (the most recent in github) and 2.2.0 (the one linked from
> npm) don't callback when playing is finished in iOS. Version 2.2.1 works on
> android though.
> I went back to version 2.0.0 and that works well on iOS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]