Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I would like to know if there is any way we can add a background song that plays in all pages. I mean if we start navigating the website, I would like to continue playing the same song, and not start it over again. The following works for one page, but once I start navigating into other pages, it stops.
Any advice.???

Thank you


<audio src="Rwanda Genocide Song.mp3" autostart="true" loop="true" autoplay="autoplay"
width="2" height="5">
</audio>
Posted
Updated 15-Apr-14 13:29pm
v2
Comments
Sergey Alexandrovich Kryukov 15-Apr-14 20:04pm    
Not quite so...
—SA

1 solution

Everything is described here: http://www.w3schools.com/html/html_sounds.asp[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900