- make an iframe on main.html page with src set to sound.html
- <iframe src="sound.html" scrolling=no style="width:50px;height:50px; border:none;">
- create a page say sound.html
- set the bg color on sound.html to same color as main.html
- use a meta tag with refresh set to sound file length in seconds where x=no. of seconds
- meta http-equiv="refresh" content="x; url=sound.html"
- insert the mp3 file into sound.html
- <audio autoplay>
<source src="your.mp3" type="audio/mpeg">
Your browser does not support the audio element.</audio>
|