You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/03 14:00:43 UTC
[jira] [Commented] (CB-10476) cordova-plugin-media 2.1.0 dos not
fire mediaSuccess
[ https://issues.apache.org/jira/browse/CB-10476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130337#comment-15130337 ]
ASF GitHub Bot commented on CB-10476:
-------------------------------------
Github user hdsnet commented on the pull request:
https://github.com/apache/cordova-plugin-media/pull/78#issuecomment-179215307
Hi,
It still doesn't seem to work.
> cordova-plugin-media 2.1.0 dos not fire mediaSuccess
> ----------------------------------------------------
>
> Key: CB-10476
> URL: https://issues.apache.org/jira/browse/CB-10476
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media
> Environment: cordova-plugin-file 4.1.0 "File"
> cordova-plugin-media 2.1.0 "Media"
> Installed platforms: android 5.1.0
> Reporter: jose nuno neto
> Labels: android
>
> I am runnig a simple test from the code on github, the sound file plays okbut the success function does not get fired.
> Code below:
> var my_media = new Media("file:///android_asset/www/hello2.wav",
> // success callback
> function () {
> console.log("playAudio():Audio Success");
> },
> // error callback
> function (err) {
> console.log("playAudio():Audio Error: " + err);
> },
> function () {
> console.log("playAudio():Audio Status");
> }
>
> );
> // Play audio
> my_media.play();
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org