You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2012/09/06 21:37:07 UTC

[jira] [Commented] (CB-1104) MediaSuccess callback after URL redirect

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

Joe Bowser commented on CB-1104:
--------------------------------

What do you mean after a URL redirect? Are you on a new page after the redirect? If so, you shouldn't expect your callback to work, since your state has completely changed when you loaded a new document.
                
> MediaSuccess callback after URL redirect
> ----------------------------------------
>
>                 Key: CB-1104
>                 URL: https://issues.apache.org/jira/browse/CB-1104
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>            Reporter: Imri Halpert
>
> I'm trying to loop a sound file with an Android app.
> I'm using the MediaSuccess callback to play the music again and again.
> I'm using a global variable for the Media instance.
> After an URL redirect I'm not getting the callback so the music stops.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira