Serve MP3 to iPhone from a website

Posted:
in iPhone edited January 2014
I'm having trouble getting a web service I've built to work on the iPhone. I created a Java Servlet to serve MP3's as an HTTP Response in order to hide the location of the source MP3 files. I am also planning on limiting the size of the response to act as music previews. I'm following this approach so that the website will be platform independent.



So far it works great with Safari, Firefox, and IE on both Windows and Mac desktops but I cannot get it to work on the iPhone. I get the "Movie could not be played" error from Quicktime.



If I modify my HTML embed source to pull the file directly from its web location the iPhone plays it just fine, but if the source is served via the servlet I get the error.



Any thoughts???



Thanks!

Comments

Sign In or Register to comment.