New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

How do I embed itunes music into my webpage?


Post Reply New Thread Subscribe

 
Thread Tools
Leonardo

 
Member Since: May 24, 2009
Posts: 84
Leonardo is on a distinguished road
Mac Specs: eMac OS X 10.4.11 1.25GB RAM 40GB original hard drive,

Leonardo is offline
How do I embed itunes music into my web-page? I know the tabs look like this,

<embed src=" "></embed>

and I tried it with some music I had ripped from a CD, so it looked like this
(a little T.I.)
<embed src="slide show.m4a"</embed>

I also tried it with some of the Garageband demo songs and that didn't work either.
QUOTE Thanks
MacHighway

 
MacHighway's Avatar
 
Member Since: Mar 05, 2009
Location: Denver, CO
Posts: 35
MacHighway is an unknown at this point
Mac Specs: MacBook Pro 2.66ghz + many, many more :^)

MacHighway is offline
There could be a lot of reasons why that is not working.

First, I'd try using a more standard format such as ".mp3" instead of ".m4a"

The code in your example is incorrect, so if you were doing it that way it would not work (unless that is a typo). It should be:

<embed src="slide show.m4a"></embed>

I'd also avoid using spaces in file names as a general rule, as this can sometimes throw off browsers. Either delete the space in the file name or use an underscore "_" instead.

Also, from your example, there would have to be a file named "slide show.m4a" in the same directory as the HTML file the code is in, so make sure you have the embedded file uploaded to the right place.

Hopefully that helped.

Chris Graves
President, MacHighway
Real Web Hosting for Mac Users, by Mac Users, Since 1997
www.machighway.com
QUOTE Thanks
Leonardo

 
Member Since: May 24, 2009
Posts: 84
Leonardo is on a distinguished road
Mac Specs: eMac OS X 10.4.11 1.25GB RAM 40GB original hard drive,

Leonardo is offline
I tried adding the extra >, changed it to .mp3, and added the underscore where the space used to reside. Now it is displaying a large Q with a question mark in the middle of it, and still not playing.
QUOTE Thanks
Mac SK

 
Mac SK's Avatar
 
Member Since: Oct 20, 2006
Posts: 1,491
Mac SK is a jewel in the roughMac SK is a jewel in the roughMac SK is a jewel in the rough

Mac SK is offline
Try Autostart="true" in the <embed> tag.
QUOTE Thanks
wheelguy

 
wheelguy's Avatar
 
Member Since: Jun 18, 2006
Location: Minneapolis
Posts: 191
wheelguy will become famous soon enough
Mac Specs: MacBook Pro

wheelguy is offline
Check the path to the mp3. Is your mp3 in the same folder as the html file or is it in a different folder? <embed src="slide show.m4a"></embed> says the file is in the same folder.

If you aren't fired with enthusiasm, you will be fired with enthusiasm. -Vince Lombardi
QUOTE Thanks

Post Reply New Thread Subscribe


« help with web designing | Problem with website created on iWeb »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How to store my music, with itunes. need help. stevenf99 iOS and Apps 1 11-23-2008 03:49 AM
iTunes is setting its own burn speeds... help! Manny Pantz iPod Hardware and Accessories 4 03-15-2007 02:41 AM
Switching ITunes from PC to Mac ilg Switcher Hangout 4 12-16-2005 01:34 AM

All times are GMT -4. The time now is 01:49 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?