jabberwoki
10-27-2006, 11:34 PM
I know this is complicated and there are better ways but I just want do it anyways :D
I have a db storing images as binary and I display them like so <img src="getdata.php?id=id"/> I send the data with a header mime type image/gif etc.
This works great but now I want to try other media I want to do the same with <embed... src="getdata.php?id=id"/> I send it with mime type audio/wav or audio/x-wav but realplayer says "realplayer does not support this media type"
which of course it does right? I am trying to use a .wav file
I hope I have made this understandable, appreciate any thoughts on what my problem is or other ways of doing this, thanks
I have a db storing images as binary and I display them like so <img src="getdata.php?id=id"/> I send the data with a header mime type image/gif etc.
This works great but now I want to try other media I want to do the same with <embed... src="getdata.php?id=id"/> I send it with mime type audio/wav or audio/x-wav but realplayer says "realplayer does not support this media type"
which of course it does right? I am trying to use a .wav file
I hope I have made this understandable, appreciate any thoughts on what my problem is or other ways of doing this, thanks