Solved

music

Posted on 2000-02-15
4
320 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

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now