• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add wav file in jsp

 
Rishabh Rathi
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everybody...

I have a wav file named "some images.wav".
I want to play that file in my jsp code at startup and want it to repeat forever.
Please help me with the code.
thank you
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65120
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing at all to do with JSP. This has been moved to the HTML forum.
 
Vinod Sekhar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the following html script in your JSP



This object loads the Windows Media Player to play your song. You can put this object's css style as visibility : fasle, so that it will not even displayed on page but works on background. If you want to display this object, you can use width, height params also.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic