There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
black screen blue screen boot bsod computer connection crash css dell display driver drivers email error explorer firefox firefox 3 hard drive internet internet explorer itunes laptop lcd malware monitor network networking nvidia outlook outlook 2003 outlook express password printer problem problems ram router security slow software sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Solved: how do i add sound to my website?


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
justfei's Avatar
Computer Specs
Senior Member with 324 posts.
 
Join Date: Mar 2005
Location: KL, Malaysia
Experience: your sexy soundman
19-Mar-2005, 11:15 AM #1
Question Solved: how do i add sound to my website?
hey

im still a newbie to web designing and stuff. i was just wondering is it possible to upload an mp3 (or other file types) to my website and have a small media player (something like websites on myspace.com have) except that i don't stream the file but it runs off my own website instead?

how do i do this? if anyone has like a guide to doing this it will be so helpful, thanks so much.
Big-K's Avatar
Distinguished Member with 6,883 posts.
 
Join Date: Nov 2003
Location: Kansas
Experience: Advanced
19-Mar-2005, 01:31 PM #2
Something like this?

Quote:
<embed
src="filename.extension*"
width=""
height="">
</embed>
Replace filename.extension with the path for the file you want to play. Under width and height put the sizes you want the media player to be. You can use percentages(how much of the page it will take up, such as 50% for half) or pixels(such as 5px). Place it in the website code where you want it to be, such as between two sections of text.
justfei's Avatar
Computer Specs
Senior Member with 324 posts.
 
Join Date: Mar 2005
Location: KL, Malaysia
Experience: your sexy soundman
19-Mar-2005, 09:33 PM #3
thanks. but so does this mean that the file would be run from my computer or the website? :S

cos if its from the website, this means that there has to be like some storage area for it to be located right?

how does it work?
Big-K's Avatar
Distinguished Member with 6,883 posts.
 
Join Date: Nov 2003
Location: Kansas
Experience: Advanced
20-Mar-2005, 11:45 AM #4
Lets say I have an mp3 file stored on my sites webserver, and I wish to make a media player to play it. I would put something like this.

Quote:
<embed
src="http://k-pages.hostrocket.com/music/song.mp3"
width="50%"
height="50%">
</embed>
If the html file I was putting the code in is also in the /music folder, then I could simply use the path song.mp3. To run it from your computer, you must have a home server set up, with a program like ISS or Apache.
justfei's Avatar
Computer Specs
Senior Member with 324 posts.
 
Join Date: Mar 2005
Location: KL, Malaysia
Experience: your sexy soundman
20-Mar-2005, 10:02 PM #5
how do i make the player hidden and it autoplays?

is there a coding for it?

thanks!
Big-K's Avatar
Distinguished Member with 6,883 posts.
 
Join Date: Nov 2003
Location: Kansas
Experience: Advanced
21-Mar-2005, 12:01 AM #6
Something along these lines...

Quote:
<bgsound src="">
The path goes inside the "". Be warned that some users turn this option off for their browser, and that it annoys many others. It will start playing once the page loads.
Skivvywaver's Avatar
Distinguished Member with 14,074 posts.
 
Join Date: Mar 2001
Location: Behind my wall
Experience: WTH???
21-Mar-2005, 03:05 AM #7
Don't do the <bgsound src"">. It is annoying to even yourself after awhile. Use the <embed src=""> tag. That way you can turn it off if you don';t want to hear it. Also don't use the "loop="" tag. Once is enough.
justfei's Avatar
Computer Specs
Senior Member with 324 posts.
 
Join Date: Mar 2005
Location: KL, Malaysia
Experience: your sexy soundman
21-Mar-2005, 05:03 AM #8
oh okay. good idea.

thanks : )
Big-K's Avatar
Distinguished Member with 6,883 posts.
 
Join Date: Nov 2003
Location: Kansas
Experience: Advanced
21-Mar-2005, 11:48 AM #9
Yup. If you want the same sort of effect, you might just put the player at the very bottom of the page or something.
AKA Arizona's Avatar
Computer Specs
Distinguished Member with 2,912 posts.
 
Join Date: Jul 2003
Location: Mississippi South of Mason Dixion
Experience: Computer & Web Design Engineer
22-Mar-2005, 11:32 AM #10
Go to this site http://www.inhisimageministries.org/radio.html view my source coding ................
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:14 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.