You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Christoph Pojer (JIRA)" <ji...@apache.org> on 2012/10/18 00:30:03 UTC

[jira] [Commented] (CB-1176) Media.play() freezes app until file has loaded

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

Christoph Pojer commented on CB-1176:
-------------------------------------

The fix in https://github.com/apache/incubator-cordova-ios/commit/0984e4def9065009d2db521d9aa442cbc5542791 also prevents AAC files from playing. Reverting the commit fixes the issue.
                
> Media.play() freezes app until file has loaded
> ----------------------------------------------
>
>                 Key: CB-1176
>                 URL: https://issues.apache.org/jira/browse/CB-1176
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.9.0
>            Reporter: Christoph Pojer
>             Fix For: 2.3.0
>
>
> When calling myMedia.play() with an external Media file, the app fully freezes until the file can be played back.
> Steps to reproduce:
> var media = new Media(url, success, error);
> media.play(); // Browser freezes.
> It would be great if this could be changed so the browser does not freeze. It would make it easier for the developer to display a loading indicator or similar to the user for visual feedback.

--
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