sound on/off code

R

ross

I have been using this code for several years on my sites and now the darn
thing is not working both in my computer and on the host server. I would
appreciate any suggestions. Thank you, I appreciate this newsgroup.
Dick Ross www.rosmd.com

<br><embed src="welcome0426.wav" controls="smallconsole" autostart="true"
loop="false" width="48" height="25" volume="45">"On/Off/Replay
<font color="#FFFF80" SIZE="-1"><br>
 
M

Michael Wilcox

ross said:
<br><embed src="welcome0426.wav" controls="smallconsole"
autostart="true" loop="false" width="48" height="25"
volume="45">"On/Off/Replay <font color="#FFFF80" SIZE="-1"><br>

(1) <embed> isn't HTML or XHTML.
(2) <font> is deprecated in HTML 4.01
(3) Trying to play music automatically is annoying. Just try:
<p>You can listen to my <a href="welcome0426.wav"
type="audio/x-wav">music</a> (it's a 200kb WAV).</p>
 
R

ross

Thank you for your reply. I always have tried to have an on/off on the
sounds. Can you help me with using a .mid file, also? I tried to substitute
the .mid to no avail. I appreciate this newsgroup. Dick Ross
 
M

Michael Wilcox

ross said:
Thank you for your reply. I always have tried to have an on/off on the
sounds. Can you help me with using a .mid file, also? I tried to
substitute the .mid to no avail. I appreciate this newsgroup. Dick
Ross

Well, I can't help you with embed tags, like I said, but the paragraph with
link for an MID would be:

<p>You can listen to my <a href="welcome0426.mid"
type="audio/x-midi">music</a> (it's a 200kb MID).</p>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top