I am unable to play audio in iOS 8 Cordova app. the same code works on iOS 7.
The message I get is,
Unknown resource 'documents://audioFilePath'
My Cordova version is 3.5.1 and Media plugin version is 0.2.15
Any help is appreciated. Thanks.
Solved This.
I was Creating the media object as,
new Media("documents://../appName.app/www/" + src...)
I Found that the resource pointer in iOS is always at www folder. So i just had to create the object as,
new Media("" + src...)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.