Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Adding music to website.....

Adding music to website.....
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2003
Status: Offline
Reply With Quote
Apr 7, 2004, 06:25 PM
 
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
Reply With Quote
Apr 7, 2004, 06:49 PM
 
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>
     
GameDog  (op)
Fresh-Faced Recruit
Join Date: Jul 2003
Status: Offline
Reply With Quote
Apr 7, 2004, 07:00 PM
 
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
Reply With Quote
Apr 7, 2004, 08:19 PM
 
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
Reply With Quote
Apr 7, 2004, 10:24 PM
 
I wasn't successful with the embed tag, instead I have used another solution. Check out the source code of www.max-goes-to-japan.net/team/tammy.shtml
I don't suffer from insanity, I enjoy every minute of it.
     
Mac Elite
Join Date: Dec 2003
Status: Offline
Reply With Quote
Apr 7, 2004, 10:31 PM
 
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
Reply With Quote
Apr 8, 2004, 10:35 AM
 
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
Reply With Quote
Apr 8, 2004, 11:33 AM
 
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
Reply With Quote
Apr 12, 2004, 06:59 PM
 
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
Reply With Quote
Apr 12, 2004, 10:43 PM
 
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"
     
   
Thread Tools
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -5. The time now is 09:07 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2