Hi, Does anyone know how to embed an mp3 file to autoplay in wordpress site with some sort of on/off button in the menu and so that it doesn't restart when browsing through pages? Thanks.
If you leave the page it will start over on each page. The only way I see it, is that you use frames (witch I don't recommend) or a small pop up window that plays the music. I would think twice about auto playing music. It's extremely annoying and its a beginners mistake. That and using flash. If you want to add music put a button on your site that launches a small media player window. They do it on a bunch of local radio stations websites.
It should be done with flash, like on this site http://www.goettafest.com/ No meter that you will use Wordpress.
The music is available for only Home Page. But if we want auto play music with the change of each page then what should we do? How to write code for that?
So, there isn't really a way? What do you mean by using frames?? My wordpress is about wedding photography so music is important to me a lot! I don't want it restarting when changing pages though.. :/
In that case only ajax could help you, if there is some plugin for wordpress to make links loading with ajax. That is only way to stop music autorestarting like on this site http://www.positivemessagemusic.com/ Frames are no good. Searching on google: http://mashable.com/2007/07/20/ajax-wordpress/ somthing like http://ajaxedwp.com/#awp::/