You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Libby Baldwin (Created) (JIRA)" <ji...@apache.org> on 2012/03/13 22:18:40 UTC
[jira] [Created] (CB-321) Media API: 'mediaSuccess' callback param
to new Media() is called soon after new obj created
Media API: 'mediaSuccess' callback param to new Media() is called soon after new obj created
--------------------------------------------------------------------------------------------
Key: CB-321
URL: https://issues.apache.org/jira/browse/CB-321
Project: Apache Callback
Issue Type: Bug
Components: Android
Affects Versions: 1.5.0
Environment: Android 2.x, Cordova 1.5.0
Reporter: Libby Baldwin
Assignee: Joe Bowser
In recent past (1.4.1 and earlier) the mediaSuccess callback was called AFTER successful play action (see doc note below). As of 1.5.0 the mediaSuccess callback seems to be called immediately upon creation of new Media object - not when expected per docs: AFTER media object has completed current action.
Doc for Media API: "mediaSuccess: (Optional) The callback that is invoked after a Media object has completed the current play/record or stop action."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-321) Media API: 'mediaSuccess' callback param
to new Media() is called soon after new obj created
Posted by "Simon MacDonald (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald resolved CB-321.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Removed the success and failure callbacks from Media.play(). These callbacks are handled from the Media.onStatus() method.
> Media API: 'mediaSuccess' callback param to new Media() is called soon after new obj created
> --------------------------------------------------------------------------------------------
>
> Key: CB-321
> URL: https://issues.apache.org/jira/browse/CB-321
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.5.0
> Environment: Android 2.x, Cordova 1.5.0
> Reporter: Libby Baldwin
> Assignee: Simon MacDonald
> Fix For: 1.6.0
>
>
> In recent past (1.4.1 and earlier) the mediaSuccess callback was called AFTER successful play action (see doc note below). As of 1.5.0 the mediaSuccess callback seems to be called immediately upon creation of new Media object - not when expected per docs: AFTER media object has completed current action.
> Doc for Media API: "mediaSuccess: (Optional) The callback that is invoked after a Media object has completed the current play/record or stop action."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-321) Media API: 'mediaSuccess' callback param
to new Media() is called soon after new obj created
Posted by "Simon MacDonald (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald reassigned CB-321:
----------------------------------
Assignee: Simon MacDonald (was: Joe Bowser)
> Media API: 'mediaSuccess' callback param to new Media() is called soon after new obj created
> --------------------------------------------------------------------------------------------
>
> Key: CB-321
> URL: https://issues.apache.org/jira/browse/CB-321
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.5.0
> Environment: Android 2.x, Cordova 1.5.0
> Reporter: Libby Baldwin
> Assignee: Simon MacDonald
>
> In recent past (1.4.1 and earlier) the mediaSuccess callback was called AFTER successful play action (see doc note below). As of 1.5.0 the mediaSuccess callback seems to be called immediately upon creation of new Media object - not when expected per docs: AFTER media object has completed current action.
> Doc for Media API: "mediaSuccess: (Optional) The callback that is invoked after a Media object has completed the current play/record or stop action."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira