Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 11-07-2006, 11:55 AM   #1 (permalink)
Console Junkie
 
aditya.shevade's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 991
Default How to give background music to a website?


Hi

I need to know how to give a background music to a complete website like there is on digit cds and dvds. It should continue on the next page (It should not restart from the beginning). Also I need a play, pause, stop, volume butten to operate the music and also change it and select one of the avalable musics. Please can anyone tell me?

Thank you
Aditya Shevade
aditya.shevade is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-07-2006, 02:33 PM   #2 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: How to give background music to a website?

Digit uses Flash on its CD/DVDs!

Frankly speaking, its pretty annoying to have background music on a site, especially if there's no stop button! I will post about music on the site, but later. Need to rush for a meeting. Expect it to be here sometime today

As for continuous music, you can use frames (which is a bad for search engine listsings).
tuxfan is offline  
Old 11-07-2006, 02:51 PM   #3 (permalink)
Alpha Geek
 
__Virus__'s Avatar
 
Join Date: Sep 2005
Location: Hyderabad
Posts: 560
Default Re: How to give background music to a website?

Seriously the music annoys me to hell until n unless its some hard music which it wont and if u r indeed planning to have music make sure u dont eat up the bandwidth of the user and do install a stop button
__Virus__ is offline  
Old 11-07-2006, 03:17 PM   #4 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: How to give background music to a website?

Hmmm.....
Add this to ur header section!!

<bgsound src="source.mid" loop="2"></bgsound>

here source.mid is the background music and loop="2" is the number of times the muzic will repeat itself. In this case 2 times.

Have fun!
mediator is offline  
Old 11-07-2006, 06:37 PM   #5 (permalink)
Console Junkie
 
aditya.shevade's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 991
Default Re: How to give background music to a website?

Hi

Thank you everyone but how to exactly apply the music to the whole website?

Aditya
aditya.shevade is offline  
Old 11-07-2006, 11:18 PM   #6 (permalink)
Wise Old Crow
 
blueshift's Avatar
 
Join Date: Apr 2005
Location: Inside the Pixel
Posts: 1,227
Default Re: How to give background music to a website?

Quote:
how to exactly apply the music to the whole website?
Just add the code after body tag.

the bgsound element will play the sound uncontrollably. Also it is supported only by IE, i think.
Instead use the 'embed' element which will allow you to play or stop the sound.
The code is: Use this inside the body tag.

<embed src="filename.mid" volume="100" align="center" loop="100" height="30" width="100" autostart="true">
blueshift is offline  
Old 12-07-2006, 03:05 AM   #7 (permalink)
Broken In
 
gaurav21r's Avatar
 
Join Date: Jun 2006
Location: High, High above, over that Blue Sky
Posts: 100
Default Re: How to give background music to a website?

Sometimes if u have ur download manager in the background, the background music gets downloaded instead of being played almost "invisibily". And sometimes it gets downloaded as well as played!

You don't reallly need it actually.. All top quality sites don't have background music, it actually has negative impact in many cases...
gaurav21r is offline  
Old 12-07-2006, 12:19 PM   #8 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: How to give background music to a website?

Try this code. I admit, I haven't written this code.

Code:
<div>
    <!--[if !IE]> <-->
        <object type="audio/midi" data="file.mid" width="300" height="30">
            <param name="autoplay" value="true">
            Error: Embedding <a href="file.mid">file.mid</a> with your browser's audio/midi handler failed. The browser plug-ins distributed with <a href="www.apple.com/quicktime/download/">Quicktime</a> handle the audio/midi type.
        </object>
    <!--> <![endif]-->
    <!--[if IE]>
        <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="300" height="30">
            <param name="src" value="file.mid">
            <param name="autoplay" value="true">
        </object>
    <![endif]-->
</div>
tuxfan is offline  
Old 12-07-2006, 12:38 PM   #9 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: How to give background music to a website?

Better don't use any music. It annoys the users of the site if they can't turn it off.
And if they can't turn off the music, they will go to another site!!
JGuru is offline  
Old 13-07-2006, 07:32 PM   #10 (permalink)
Console Junkie
 
aditya.shevade's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 991
Default Re: How to give background music to a website?

Hi

Thank you everyone. Now I think it's better not to apply a background music. But can't I include (I just want how to do this) a media player on the site. Like there is one on ricky martin site. You can stop play control volume of the songs.

Aditya
aditya.shevade is offline  
Old 13-07-2006, 10:30 PM   #11 (permalink)
Wise Old Crow
 
blueshift's Avatar
 
Join Date: Apr 2005
Location: Inside the Pixel
Posts: 1,227
Default Re: How to give background music to a website?

The one on the Ricky Martin site is a flash mp3 player. Its designed using flash authoring s/w like FlashMX.
You could design your own or search in google.
I found this site for you:
http://www.flamplayer.com/
blueshift is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Tenida
- by Charan
- by abhidev
- by Sujeet
- by Sarath

Advertisement




All times are GMT +5.5. The time now is 09:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2