Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 891E518DDB for ; Fri, 5 Feb 2016 22:16:40 +0000 (UTC) Received: (qmail 25214 invoked by uid 500); 5 Feb 2016 22:16:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 25159 invoked by uid 500); 5 Feb 2016 22:16:40 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 24844 invoked by uid 99); 5 Feb 2016 22:16:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2016 22:16:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DAA212C1F5D for ; Fri, 5 Feb 2016 22:16:39 +0000 (UTC) Date: Fri, 5 Feb 2016 22:16:39 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10476) cordova-plugin-media 2.1.0 dos not fire mediaSuccess MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15135142#comment-15135142 ] ASF GitHub Bot commented on CB-10476: ------------------------------------- Github user tony-- commented on the pull request: https://github.com/apache/cordova-plugin-media/pull/78#issuecomment-180593938 +1 this fixed the tests for me > 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, regression, triaged > > 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