Solved

music

Posted on 2000-02-15
4
323 Views
Last Modified: 2013-12-28
How to put a background music in web by netscape composer?

                I have done some web by frontpage and can listen the music by I.E.
                whereas it is no music using Netscape ....
0
Comment
Question by:mwhuen
  • 2
4 Comments
 

Expert Comment

by:unseensun
ID: 2523815
If you know HTML the code for putting music on a webpage is

This is for IE browsers
<bgsound src="newyork.mid" loop=infinite>


This is for Netscape
<embed src="newyork.mid" width="144" height="15" autostart="true" loop="true" controls="smallconsole">

embed is the tag that allows you to put music in the page
the src attribute lets you link to the specified music file
width, height  are the width and height of the music console
autostart (true / false) is weather or not the music will come up automatically when you visit the page or weather the user has to push play first.
Loop is weather or not the music will ever stop playing.
controls sets the type of console you will have on your webpage to have the music playing.

if you dont want the console on your page just leave out the height width and controls attributes

in my code I have newyork.mid
but in your code you may want to put the link, file directory or location of your music file, inluding the file name.
also, if you are using certain kinds of music files such as WAV or RealAudio
you wont hear the music unless you have the proper Netscape Plugins.

I hope this helps.
Come back if you have more questions
0
 

Author Comment

by:mwhuen
ID: 2525442
how can I write a html which contain music files, that both browser can play the music?
0
 

Expert Comment

by:unseensun
ID: 2532524
unseensun changed the proposed answer to a comment
0
 
LVL 5

Accepted Solution

by:
compmania earned 10 total points
ID: 2543146
<bgsound src="sound.***" loop="1" autostart="true">

Will work on both.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question