File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

play a voice file

 
lavanya Ananth
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am running on a tight deadline and i would appreciate a quick repsonse to my problem here..

A voice file is stored as a BLOB in my oracle database.
In my application , i retrieve this and store it in a byte array. I need to to display a link on a browser and when clicked the voice file should be played.

I tried and i am getting an unknown error from windows media player.
I set the content type as audio/x-wav and file type as 'wav'.

Please help me here.

Thanks
Lavanya
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you able to play it from your page if it's a static file on the server?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sometimes setting the content-length helps with plug-ins.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic