[ https://issues.apache.org/jira/browse/CB-1176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-1176: --------------------------------- Fix Version/s: 2.3.0 Network downloads are sync because of an Apple issue: https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVSound.m#L283 So we synchronously download the media file first. See the File Transfer API to see async download use. > 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