incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1384) Online .wav files cannot be played, but ones local to www can
Date Thu, 06 Sep 2012 23:05:07 GMT

     [ https://issues.apache.org/jira/browse/CB-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shazron Abdullah resolved CB-1384.
----------------------------------

    Resolution: Fixed

Fix commit - http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/73f77bf0
                
> Online .wav files cannot be played, but ones local to www can
> -------------------------------------------------------------
>
>                 Key: CB-1384
>                 URL: https://issues.apache.org/jira/browse/CB-1384
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.0.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 2.1.0
>
>
> See: https://groups.google.com/d/topic/phonegap/B7anQZoBKKw/discussion
> This is because NSTemporaryDirectory() returns a trailing slash, making the temporary
file path we create to be invalid.
> Change:
> {code}
> NSString* filePath = [NSString stringWithFormat:@"%@/%@.mp3", 
> NSTemporaryDirectory(), uuidString]; 
> {code}
> To:
> {code}
> NSString* filePath = [NSString stringWithFormat:@"%@/%@.mp3", 
> [NSTemporaryDirectory() stringByStandardizingPath], uuidString]; 
> {code}

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

Mime
View raw message