Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

music

Posted on 2000-02-15
4
Medium Priority
?
331 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 20 total points
ID: 2543146
<bgsound src="sound.***" loop="1" autostart="true">

Will work on both.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

598 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