sound tags

Need technical advice on coding your web pages? Covers HTML, JavaScript, CSS, and some server side technologies. Also the issue of some webpages not displayed well.

Moderator: Don_HH2K

sound tags

Postby gskywalkers » Thu 06 Feb, 2003 8:06 pm

Is there any way that I can embed a sound tag in my web pages so that it will play in the background of the Netscape 7.0 browser.
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)
gskywalkers
member
member
 
Posts: 32
Joined: Wed 25 Dec, 2002 4:15 am

Postby Edward » Thu 06 Feb, 2003 8:18 pm

I believe Netscape uses the
Code: Select all
<embed>

tag for background sounds.

See this page at Netscape for more info on the tag.
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
SillyDog701 Moderator
debian 6 - iceape - iceweasel - icedove - seamonkey
User avatar
Edward
Moderator
Moderator
 
Posts: 3584
Joined: Sun 01 Dec, 2002 7:15 pm

Postby gskywalkers » Fri 07 Feb, 2003 12:54 am

Hi Edward,

I used the <embed> tag with negative results. It brings up an Icon that says "click here" for plug-in. When I do that, it takes me to a Netscape Page that says in an almost undreadable blue, black box that there are no plugins available. I also tried the following tags which bring up a blank page in Netscape.

Code: Select all
<embed src="2001.mid"
autostart="true"
hidden="false"
loop="false" width="128" height="128">
<noembed>

<bgsound src="2001.mid" loop="1"> </noembed>


anything further you can tell me?? :roll:

EDITED, code formats added by Admin.
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)
gskywalkers
member
member
 
Posts: 32
Joined: Wed 25 Dec, 2002 4:15 am

Postby terra » Fri 07 Feb, 2003 1:48 am

Here's a sample produced by AutoTagMaker 1.44, specifying a file from my hard disk:

Code: Select all
<EMBED SRC=file:///C|/Nowhere/Sounds/bomrkite.mid
LOCALDATA="TYPE=AUDIO/X-MIDI file:///C|/Nowhere/Sounds/bomrkite.mid"
SAVE=TRUE CONTROLS=CONSOLE  AUTOSTART=TRUE
HEIGHT=16 WIDTH=16 LOOP=TRUE TYPE=AUDIO/X-MIDI>


Here's another, by Sound Embedder 6.2:

Code: Select all
<EMBED SRC=file:///C|/Nowhere/Sounds/bomrkite.mid
LOCALDATA="TYPE=AUDIO/X-MIDI file:///C|/Nowhere/Sounds/bomrkite.mid"
SAVE=TRUE CONTROLS=CONSOLE DETACH=TRUE AUTOSTART=TRUE
HEIGHT=60 WIDTH=200 LOOP=TRUE TYPE=AUDIO/X-MIDI>


EDITED, code formats added by Admin.
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3a) Gecko/20021228 Phoenix/0.5
User avatar
terra
member
member
 
Posts: 59
Joined: Thu 02 Jan, 2003 11:47 pm

Postby Mandrake » Fri 07 Feb, 2003 3:28 am

The <embed> tag DOES work in Netscape, but the right plugin must be loaded. A full install of Quicktime 6 works fine. Beatnik plugin would work good too.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030204
User avatar
Mandrake
Moderator
Moderator
 
Posts: 4193
Joined: Fri 13 Sep, 2002 6:35 am

sound tags

Postby gskywalkers » Fri 07 Feb, 2003 6:43 pm

Hi Mandrake,

I downloaded and installed beatnick and it worked ok in IE but not Netscape 7.0. I can't seem to make any sound in Netscape no matter what I do. I tried the tags that terra posted and again it works ok in IE but not Netscape. Every site that I go to that has sound on it while using IE does not work when I go there with Netscape. Any more ideas?
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)
gskywalkers
member
member
 
Posts: 32
Joined: Wed 25 Dec, 2002 4:15 am

Re: sound tags

Postby Mr. Tinkles » Fri 07 Feb, 2003 6:52 pm

gskywalkers wrote:Hi Mandrake,

I downloaded and installed beatnick and it worked ok in IE but not Netscape 7.0. I can't seem to make any sound in Netscape no matter what I do. I tried the tags that terra posted and again it works ok in IE but not Netscape. Every site that I go to that has sound on it while using IE does not work when I go there with Netscape. Any more ideas?


Try the Crescendo basic 5.1 (it's free) plugin for Netscape.

Crescendo Download Site

P.S. - Sorry, Mandrake wasn't available, he was out pollinating :lol:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 (CK-SillyDog)
I was born by God's dear grace in extraordinary place
Where the Stars and Stripes and the Eagle flies.
User avatar
Mr. Tinkles
Moderator
Moderator
 
Posts: 303
Joined: Fri 26 Jul, 2002 3:06 pm
Location: Felisopolis

sound tags

Postby gskywalkers » Sat 08 Feb, 2003 2:30 am

Hi, I am back again. I installed Cresendo and still have the exact same problem. :roll: I am beginning to think that Netscape is the Silent Browser.
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)
gskywalkers
member
member
 
Posts: 32
Joined: Wed 25 Dec, 2002 4:15 am

Postby localhost » Sat 08 Feb, 2003 5:21 am

What's the url of the page you use to try it out? So we can check it as well.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030205
--People who say it can't be done, should not interrupt those who are doing it.--
User avatar
localhost
super member
super member
 
Posts: 178
Joined: Tue 07 Jan, 2003 3:23 am
Location: Netherlands

Postby gskywalkers » Sat 08 Feb, 2003 2:24 pm

Hi localhost,

The URL is:
http://html.mcwebber.net/sound.html
I can hear the sound using IE but not Netscape and it is the same no matter what URL I go to that has sound.

Thanks
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)
gskywalkers
member
member
 
Posts: 32
Joined: Wed 25 Dec, 2002 4:15 am

Postby Mr. Tinkles » Sat 08 Feb, 2003 3:02 pm

gskywalkers wrote:Hi localhost,

The URL is:
http://html.mcwebber.net/sound.html
I can hear the sound using IE but not Netscape and it is the same no matter what URL I go to that has sound.

Thanks


Good lord. One section wanted RealAudio plugin(which is odd, I have it installed), causing Netscape plugin finder to get cracking and shoot a URL for RP8-WIN.EXE to stardownloader (which is odd, I have RP8 installed).

Another embed tag started up Crescendo fine, but it doesn't start playing automatically because of how he has the tag configured (note the autostart line). Not sure why neither Crescendo nor beatnik would work for you:
Code: Select all
<script language="JavaScript">
<!--
var MSIE = navigator.userAgent.indexOf("MSIE");
var NETS = navigator.userAgent.indexOf("Netscape");
var OPER = navigator.userAgent.indexOf("Opera");
if ((MSIE>-1) | (OPER>-1)) {
document.write("<BGSOUND SRC=gbusters.mid LOOP=1>");
   }
else {
document.write("<EMBED SRC=gbusters.mid AUTOSTART=false height=60 width=140 VOLUME=100 LOOP=true>");
}
// End -->
</script>
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 (CK-SillyDog)
I was born by God's dear grace in extraordinary place
Where the Stars and Stripes and the Eagle flies.
User avatar
Mr. Tinkles
Moderator
Moderator
 
Posts: 303
Joined: Fri 26 Jul, 2002 3:06 pm
Location: Felisopolis

sound tags

Postby gskywalkers » Sat 08 Feb, 2003 5:23 pm

Hi Mr. Tinkles,

Ok, here is what I have done so far. I uninstalled Netscape 7.0 and downloaded the full version from Netscape. Along with it came Real Player and Winamp. Then I opened Netscape and clicked on Help, about plugins and it shows that real player is enabled but not winamp or any other player. All I get when I go to a page with sound on it is what I would call a parameter icon that shows that it cant find the plugin. I put that same embed tag on my own page and changed autostart from false to true and still no sound. It just seems that it can't find the plugins like cresendo and beatnik or any other whether they are enabled or not. Is there a step here that I am missing? I have no idea what to try next.
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)
gskywalkers
member
member
 
Posts: 32
Joined: Wed 25 Dec, 2002 4:15 am

Postby Mr. Tinkles » Sat 08 Feb, 2003 5:38 pm

Winamp doesn't have a plugin, it is a standalone application.

I've never used Beatnik so I can't speak for that, but it sounds like the Crescendo plugins never got copied over to the plugins folder successfully. Assuming you have installed Netscape in the default location, you should have the following files in your C:\Program Files\Netscape\Netscape\Plugins folder that are related to Crescendo:

npmidi32.dll
npmp332.dll
CresObserver.class
CresPlayer.class
crestest.htm
crestest.mid

If they are not there, I would reinstall Crescendo (Close Netscape first), and check again. IF they are still not there....erm, do you have other versions of Netscape on your system by chance?

P.S. - On a side note, I figured out why my realaudio didn't pickup that embedded RM file last time. I apparently had set RealAudio to NOT be the default player for Real files :oops: .
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 (CK-SillyDog)
I was born by God's dear grace in extraordinary place
Where the Stars and Stripes and the Eagle flies.
User avatar
Mr. Tinkles
Moderator
Moderator
 
Posts: 303
Joined: Fri 26 Jul, 2002 3:06 pm
Location: Felisopolis

Postby Ramona » Sat 08 Feb, 2003 7:17 pm

Hi Gang,

The "Embed" tag is now obsolete. I have sound on several personal web pages, and I use Crescendo 5.1.

To embed the sound, I used this tag:
Code: Select all
<object data="mysong.mid" WIDTH="16" HEIGHT="16" AUTOSTART="true" LOOP="false"  NOSAVE="true">


For the midi tag only, use:
Code: Select all
<object data="yoursong.mid">


FWIW, Microsoft's proprietary < bgsound > tag is not supported in Netscape.

Crescendo works with no problems on 7.01, and you can check it out on one of my pages: My World of Music

Ramona :D









[
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 (CK-SillyDog)
User avatar
Ramona
Moderator
Moderator
 
Posts: 2376
Joined: Wed 19 Jun, 2002 3:50 pm
Location: Midwest USA

sound tags

Postby gskywalkers » Sat 08 Feb, 2003 10:03 pm

Hello again,

First Mr. Tinkles......I do not have any of those files in the Netscape Plugins folder. Also, I went to Crescendo and there are only 2 files in there....they are xadsound.dll and mp3xaud.dll For reasons unknown to me, the Crescendo installer places the files in C:\Windows\System....also, the download is over 1mb and those dll files which are the only thing in there are about 265kb. Anyway, I uninstalled Crescendo and downloaded it again with the same results.

Hi Ramona,

I do not get any sound on your page in either IE or Netscape, obviously because my Netscape is not working right and IE does not recognize the Object tag. Life used to be simple :roll:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)
gskywalkers
member
member
 
Posts: 32
Joined: Wed 25 Dec, 2002 4:15 am

Next

Return to Web Design and Page Coding

Who is online

Registered users: Google [Bot]