You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2012/11/28 01:20:58 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=13505086#comment-13505086 ] 

Shazron Abdullah commented on CB-1176:
--------------------------------------

Solved the AAC file not being able to be played issue by removing the .mp3 suffix: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/17a71e8b
                
> 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.4.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