 |
 |
Adding music to website.....
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2003
Status:
Offline
|
|
I'm completely new at this and no nothing about how to add music to my website. I have the song in just a mp3 format from iTunes. How can I add it to my Geocities website? I did some searches in here but couldn't find anything on this matter.
Thanks
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2003
Status:
Offline
|
|
I've never actually done this myself, but I'm pretty sure this is how it's done:
Code:
<embed src="yourmusicfile.mp3" autostart="false" loop="false"></embed>
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2003
Status:
Offline
|
|
That's what i was thinking, but were do i actually stick the HTML code at?
Also, I was looking to add red aqua buttons... do you know where i could get those?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2003
Status:
Offline
|
|
When you use that code, you should get a little quicktime play-pause bar and everything. Place the code wherever you want the quicktime bar to appear.
As for the red aqua buttons, I suppose you could make them yourself. That, or you could take an existing aqua button and photoshop it so it's red.
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
|
|
|
I don't suffer from insanity, I enjoy every minute of it.
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2003
Status:
Offline
|
|
Code:
<EMBED SRC="images/tammy_strikes_back.mov" HEIGHT="20px" AUTOPLAY="true">
Seems to be what they're using... Looks like an embed to me.
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
Originally posted by Jaey:
Code:
<EMBED SRC="images/tammy_strikes_back.mov" HEIGHT="20px" AUTOPLAY="true">
Seems to be what they're using... Looks like an embed to me.
Ok, sorry.
I thought about an
Code:
<object src="..."></object>
tag, I think.
|
|
I don't suffer from insanity, I enjoy every minute of it.
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: CO
Status:
Offline
|
|
I'm new to all this embedding of music, but I noticed that that simple embed code at the above TAMMY site caused the QuickTime player to display, so I tried it in my site:
<p><embed SRC="perfection.mov" HEIGHT="20px" AUTOPLAY="true" LOOP="false"></p>
and then uploaded a 10-sec mp3 file (that plays fine in QT on local machine). I tried it first with its extension as mp3 (and changed code in the EMBED from .mov to .mps...
but no QT shows up. So I tried uploading it with .mp3 extension changed to .mov and using .mov in the code (as above). Still NOTHING show on my site. (I even tried setting autoplay to "false" to see it it would at least show me the 20px line for QT - but nothing).
Can anyone tell me if it's a code problem - or a problem with file type / extension? or if my HOST may have to turn on something to let audio happen?
|
|
TOMBSTONE: "He's trashed his last preferences"
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jan 2002
Status:
Offline
|
|
Keep your file mp3 (changing it to .mov doesn't make it a QT movie.. you'd need to actually export it from QT Pro as a QT movie). Keep the extention mp3.
This is the official embed code, straight from the mothership :
----
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160"HEIGHT="144"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="track1.mp3">
<PARAM name="AUTOPLAY" VALUE="true">
<PARAM name="CONTROLLER" VALUE="true">
<EMBED SRC="track1.mp3" WIDTH="160" HEIGHT="144" AUTOPLAY="true" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>
</OBJECT>
----
Make sure to change the file name in both places. To make it look right on both platforms, sometimes you need to adjust the width of the controller, as it gets clipped a little.
Hope that helps!
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: CO
Status:
Offline
|
|
Whew! I just *don't get* that value for CLASSID... !!!
But it works great - right out of the can. Mucho thanks!
For my edification: can you tell me (Readers Digest version) what that CLASSID IS all about?
|
|
TOMBSTONE: "He's trashed his last preferences"
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|