You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Imri Halpert (JIRA)" <ji...@apache.org> on 2012/07/22 12:33:33 UTC

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

Imri Halpert created CB-1104:
--------------------------------

             Summary: MediaSuccess callback after URL redirect
                 Key: CB-1104
                 URL: https://issues.apache.org/jira/browse/CB-1104
             Project: Apache Cordova
          Issue Type: Bug
            Reporter: Imri Halpert
            Priority: Blocker


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-1104:
---------------------------

          Component/s: Android
    Affects Version/s: 2.0.0
    
> 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

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

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-1104:
---------------------------

    Priority: Major  (was: Blocker)
    
> 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

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

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-1104.
----------------------------

    Resolution: Incomplete

We need more information from this ticket if we are to do any work on it.  Closing for now.
                
> 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