Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DarthMambo

macrumors newbie
Original poster
Jul 8, 2010
1
0
This is driving me nuts.

I'm building an HTML application for my iPad, but I can't make it play .wav files which are returned from either a Java servlet or an ASP handler

In either HTML5 or Quicktime, if you set the data source for the object to a static file it works fine e.g. "/foo/bar/baz.wav", but if you set it to a dynamic source e.g. "/foo/bar/GetWav?audioFileId=123" the component just goes into an error state and doesn't play anything.

(I'm sure I'm setting the "content-type" correctly - "audio/wav" or "audio/x-wav")

Does anyone know if this is a formal restriction of Quicktime and the HTML5 <audio/> tag? Any workarounds?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.