Welcome Guest ( Log In | Register )

      
Discover the best free computer help!
Learn more about Geeks to Go by taking the tour. Spyware, virus, trojan, fake security or privacy alerts? Read the malware cleaning guide.
2 Pages V   1 2 >  
Reply to this topicStart new topic
sound on page won't play
MR0624
post Jun 24 2005, 04:23 PM
Post #1


Member
***
Posts: 331
OS: XP SP2



I'm trying to add some sound to a web page of mine so I entered the following html code:

QUOTE
<embed SRC="test.wav" HIDDEN=true AUTOSTART=true NAME=test>


The file is test.wav but for some reason it doesn't play in firefox or IE.

Thanks,
MR0624
Go to the top of the page
 
+Quote Post
sunny441
post Jun 25 2005, 12:12 AM
Post #2


Member
***
Posts: 224
From: Berrien Springs, MI
OS: XP, Ubuntu Linux 5.04



Hi there!
here is the code you are looking for.. it should look like this.
QUOTE
<script language="Javascript">
if (navigator.userAgent.indexOf('MSIE') > -1)
{
    document.write('<bgsound src="filename.wav" loop="1">');
} else {
    document.write('<embed src="filename.wav" autostart=TRUE hidden=true loop="1">');
}
</script>


hope that works
thumbsup.gif

cheers
Go to the top of the page
 
+Quote Post
MR0624
post Jun 25 2005, 08:26 AM
Post #3


Member
***
Posts: 331
OS: XP SP2



first, let me explain what i'm trying to do . I'm trying to start a podcast but I needed to put the podcast on a page somewhere so i'm using some old web space. However, the code that you gave me still doesn't work. I made the proper edits (file name) and put it up but no luck.... I tried using a different hosting account that I have with a different server, and that doesn't work either. Thanks for trying.....

This post has been edited by MR0624: Jun 25 2005, 08:27 AM
Go to the top of the page
 
+Quote Post
MR0624
post Jun 25 2005, 09:37 AM
Post #4


Member
***
Posts: 331
OS: XP SP2



update: I've tried three hosts now and neither work.....anyone?
Go to the top of the page
 
+Quote Post
Redwontdo
post Jun 26 2005, 03:28 AM
Post #5


Member
**
Posts: 38
OS: windows 98, 2000, mandrake



QUOTE(MR0624 @ Jun 25 2005, 09:37 AM)
update: I've tried three hosts now and neither work.....anyone?
[snapback]196924[/snapback]


<embed src="test.wav" autoplay=true">

In other words, put a " at the end of your statement before the last >

This post has been edited by Redwontdo: Jun 26 2005, 03:29 AM
Go to the top of the page
 
+Quote Post
MR0624
post Jun 26 2005, 07:57 AM
Post #6


Member
***
Posts: 331
OS: XP SP2



Well, attached to this message is what I see on the web page.....I still don't hear sound but I get that image.

This post has been edited by MR0624: Jun 26 2005, 08:03 AM
Go to the top of the page
 
+Quote Post
MR0624
post Jun 26 2005, 08:06 AM
Post #7


Member
***
Posts: 331
OS: XP SP2



Hmmm...it won't attatch....but it's this big picture of a piece of paper with a tear at the buttom corner and the quicktime symbol on the piece of paper. It just stays like that. I've edited the quicktime plug-in settings to read .wav files but it still doesn't work....
Go to the top of the page
 
+Quote Post
Space-Man
post Jun 26 2005, 12:55 PM
Post #8


Member
**
Posts: 97
OS: Windows XP



Try embedding an mp3 file see if that works.

This post has been edited by Space-Man: Jun 26 2005, 01:29 PM
Go to the top of the page
 
+Quote Post
sunny441
post Jun 26 2005, 12:57 PM
Post #9


Member
***
Posts: 224
From: Berrien Springs, MI
OS: XP, Ubuntu Linux 5.04



try a midi file - cos i have done that before using the code that i posted earlier

cheers
Go to the top of the page
 
+Quote Post
Redwontdo
post Jun 26 2005, 02:39 PM
Post #10


Member
**
Posts: 38
OS: windows 98, 2000, mandrake



QUOTE(MR0624 @ Jun 26 2005, 08:06 AM)
Hmmm...it won't attatch....but it's this big picture of a piece of paper with a tear at the buttom corner and the quicktime symbol on the piece of paper. It just stays like that. I've edited the quicktime plug-in settings to read .wav files but it still doesn't work....
[snapback]198384[/snapback]



Should play as a quicktime. Change your file to an MP3 and try that?

Try this. Can you hear/view the file on this page?

test

This post has been edited by Redwontdo: Jun 26 2005, 02:43 PM
Go to the top of the page
 
+Quote Post
MR0624
post Jun 26 2005, 06:49 PM
Post #11


Member
***
Posts: 331
OS: XP SP2



yeah...I can hear that...give me 10 mins to make a new file in mp3 and i'll post back with the results....
Go to the top of the page
 
+Quote Post
MR0624
post Jun 26 2005, 07:25 PM
Post #12


Member
***
Posts: 331
OS: XP SP2



I edited the file and with mp3 it changed from the piece of paper to the quicktime symbol.......but no sound!!
Go to the top of the page
 
+Quote Post
MR0624
post Jun 26 2005, 07:31 PM
Post #13


Member
***
Posts: 331
OS: XP SP2



is there any software I can use to edit mp3's to midi's?
Go to the top of the page
 
+Quote Post
Redwontdo
post Jun 26 2005, 08:04 PM
Post #14


Member
**
Posts: 38
OS: windows 98, 2000, mandrake



What compression did you use when you created your MP3?


Here are some conversion softwares but I have never tried any of them. I either us MP3 or wav files.

link
Go to the top of the page
 
+Quote Post
MR0624
post Jun 27 2005, 03:57 PM
Post #15


Member
***
Posts: 331
OS: XP SP2



Tell me if you guys hear sound. Go to my web page
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies / Views Topic Information
No New Posts 1 / 220 27th April 2007 - 09:54 AM
louist5150 started - last by cheyenne 09
No New Posts   5 / 414 10th September 2007 - 08:19 PM
Grizzley0105 started - last by Grizzley0105
No New Posts   1 / 773 23rd February 2008 - 03:05 PM
777rrr started - last by Ax238
No New Posts   3 / 775 14th September 2008 - 09:45 AM
legacyof_piracy started - last by macmaxbh

RSS Time is now: 22nd November 2008 - 03:30 PM
Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk.