I haven’t be able to find a resource explaining if this is possible at all. The Apple documentation found here
…doesn’t mention such features.
I also tried embedding audio with the <embed> tag which pulls up the same modal quicktime player.
Is there a way to do this or alternatively – is there a way to play audio files in an iphone webapp without opening a modal external player?
I found a workaround for achieving this functionality by using Apple’s mediafilesegmenter command line tool to prepare an mp3 for “HTTP Live Streaming” – Apple’s new protocol for streaming media through HTTP.
More info here:
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008332-CH1-DontLinkElementID_29
By using the arguments
--audio-only --meta-file poster.png --meta-type pictureyou can create an mp3 stream that will display the poster.png image in the external quicktime player while the audio is playing.