Rules      FAQ       Register        Login
It is currently August 21st, 2018, 8:25 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to add background music to a page
PostPosted: April 12th, 2012, 4:17 pm 
Ringwraith
Ringwraith
User avatar

Joined: 01 July 2011
Posts: 1773

Offline
:explode:
:throw:
:headwall:

I'm going insane.
Cause I can't figure out how to put music on a page!
-.-
I found this code:
<embed src="http://www.mediafire.com/?5ms44z3iehpdc5j" hidden="false" border="0" width="310" height="45" autostart="true" autoplay="true" loop="false" volume="75%">
(the file is my music file... on mediafire cause my stupid site host apparently doesn't allow music files to be uploaded0
And of course it doesn't work.

Does anyone know how to do it? (I'd really like to figure out a way to make it so one of a few different songs plays when someone goes to the page, but any way of putting music on would be awesome.)
Or know of a site that you can upload music to and get the actual file name?


Top
 Profile                  
 
 Post subject: Re: How to add background music to a page
PostPosted: April 14th, 2012, 2:53 pm 
Dwarf
Dwarf
User avatar

Joined: 02 April 2012
Posts: 91
Country: England (en)
Gender: Female

Offline
I was going to suggest doing it with Flash.

But your problem is your URL.

http://www.mediafire.com/?5ms44z3iehpdc5j

This won't work. You need a direct source, IE, www.arandomsite.com/backgroundmusic.mp3

Because the basic HTML won't be able to handle that link, it brings you to a download page. You either need to find a new host, or find a site that'll let you host a music file. Does Soundcloud offer that sorta thing?

_________________
"Just once I’d like to ask someone for help and hear them say, 'Sure. Let’s go. Right now. No strings attached.'"


Top
 Profile                  
 
 Post subject: Re: How to add background music to a page
PostPosted: April 14th, 2012, 9:13 pm 
Ringwraith
Ringwraith
User avatar

Joined: 01 July 2011
Posts: 1773

Offline
:duh:
Of course! I knew that!! Stupid brain.
Hehe... thanks for reminding me. :P
Soundcloud only lets you upload stuff you made.
And the song is a part of the lotr soundtrack... soundcloud had a fit about copyright stuff when I tried to upload it. :P

I finally found something that works. It's actually better than my first idea.
http://www.feanorcurufinwe.zxq.net/index.html
^^ the home page of my site.
(it's not finished, so the links don't work.)
It plays a random song when someone goes to the page, (although it seems to have favorites... weird.) and you can make the music stop if it gets annoying.
There are a few bad things though... the songs are from youtube, so it's just like watching a youtube vid... sometimes it stops playing. And the address bar doesn't change... it's rather strange.

*is glad to have sanity back*
(By the way... I'd really like it if someone could go to my site and tell me if the music player works! Although if it doesn't I might beat the computer up with a baseball bat. [just kidding! er... maybe :P)


Top
 Profile                  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron




Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Boyz theme by Zarron Media 2003