Is it possible to have a web page automatically revert to the prior page after a sound-bite or movie clip plays?
http://schuylkillvalleyboys.net/fivefoottwosample.html
On this page, when I click on the link for the sample, a player is launched to play the sample. I would like to discover a method to automatically revert to the original page when it is finished playing. Is this possible?
Another person had suggested the meta tag as you can see in the source code, but this does not work.
An amateur needs html help
I am sorry that I don't have the person's name that suggested using a meta-tag. It did not work because of my inexperience. After trying several different forms of the meta-tag, it then was working to cause a time-out then to revert to whatever web page I desired. THANK YOU to that person that helped me. Now another problem has arisen when Internet Explorer is used as the visiting browser. The music sample automatically starts playing okay, but when the time-out occurs, the page does not revert to the initial web page. Instead, the sample just repeats. Here is the Meta-Tag that I used and the HTML5 code for the player. I have also included the site URL to play the sample. These work okay with Firefox, Chrome, SeaMonkey, but do not work correctly with IE, or at all with Safari.
<meta http-equiv="refresh" content="20,http://schuylkillvalleyboys.net/tinpanalley.html"> This allows a 20 second time out before it reverts to the indicated page - 20 seconds being the time to play the sample.
The following is the HTML5 code to create the player, play the sample automatically when the page is launched, and provide different sound formats for recognition by different browsers. (Yes, I have loaded to my site the 3 different sample files.)
<audio controls="controls" autoplay="autoplay"> <source
src="5ft2sample.ogg" type="audio/ogg" loop="false"> <source
src="5ft2sample.mp3" type="audio/mpeg" loop="false"> <source
src="5ft2sample.wav" type="audio/wav" loop="false"> Your
browser does not support the audio element. </audio>
As you can see, I have entered three different sound clips so that each browser can play the one it recognizes. The Meta-Tag time-out works well with Firefox, SeaMonkey, and Chrome, but does not work with IE.
Here's a link directly to click on the sample: http://schuylkillvalleyboys.net/tinpanalley.html
The page source code is open to view also.
I would appreciate any suggestions to fix the IE and Safari problems.
<meta http-equiv="refresh" content="20,http://schuylkillvalleyboys.net/tinpanalley.html"> This allows a 20 second time out before it reverts to the indicated page - 20 seconds being the time to play the sample.
The following is the HTML5 code to create the player, play the sample automatically when the page is launched, and provide different sound formats for recognition by different browsers. (Yes, I have loaded to my site the 3 different sample files.)
<audio controls="controls" autoplay="autoplay"> <source
src="5ft2sample.ogg" type="audio/ogg" loop="false"> <source
src="5ft2sample.mp3" type="audio/mpeg" loop="false"> <source
src="5ft2sample.wav" type="audio/wav" loop="false"> Your
browser does not support the audio element. </audio>
As you can see, I have entered three different sound clips so that each browser can play the one it recognizes. The Meta-Tag time-out works well with Firefox, SeaMonkey, and Chrome, but does not work with IE.
Here's a link directly to click on the sample: http://schuylkillvalleyboys.net/tinpanalley.html
The page source code is open to view also.
I would appreciate any suggestions to fix the IE and Safari problems.
Tom