jQuery in Action, 2nd edition*
The moose likes HTML, CSS and JavaScript and the fly likes how to add wav file in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to add wav file in jsp" Watch "how to add wav file in jsp" New topic
Author

how to add wav file in jsp

Rishabh Rathi
Greenhorn

Joined: Mar 07, 2011
Posts: 13
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

Joined: Jan 10, 2002
Posts: 60077
    
  65

Nothing at all to do with JSP. This has been moved to the HTML forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vinod Sekhar
Greenhorn

Joined: Feb 03, 2004
Posts: 5
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to add wav file in jsp
 
Similar Threads
Retrieve WAV file from Sybase
how to clear user cache?
Play .wav in Jsp
Play .wav in Jsp
Getting a certain directory