noahbuscher/shore

Unable to integrate the same in a web-app using Cordova and iOS

Closed this issue · 4 comments

I am trying to integrate the same in my webapp but I am unable to do the same.

Any guidance.

Hmm... I don't have too much experience with Cordova. Did you try to check and see if the building stage was not the issue by going to PhoneGap Build, zipping up your project, and trying to build it using their services? Have you triple checked your file paths and looked at the console for any errors? Is the audio file existent and did you give the site time to load the file?

It is creating the native audio player using the audio tag and even playing the audio file but it is not displaying the waveform while playing the audio file. I debugged it several times to check whether it hits the update animation code of your library but it is not calling that function.

Hmm... Really weird. Well I'm 99% sure it's some issue with line 67. Possibly a browser issue, of maybe it just can't connect to the audio player for various reasons. Is it working just by loading an HTML file with the code to your phone instead of using it in an application? Also, I don't know if there are cross-domain errors for native applications, but maybe check that the audio file source is in your project directory again? It may be able to play the remote audio file, but it may lack the ability to get data fast enough to display it via a waveform. I'm really stumped on this one.

Doesn't look like any progress has been made on this matter.