Solved

music

Posted on 2000-02-15
4
324 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 10 total points
ID: 2543146
<bgsound src="sound.***" loop="1" autostart="true">

Will work on both.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 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