PDA

View Full Version : embedding mp3s


smiling_samurai
12-01-2004, 04:53 AM
i'm using the below code to embed an mp3 onto my webpage. i want the file to play as soon as the page loads. i thought the code was autostart="true", but that didn't work. anyone know what the code is to get this file to play automatically? thanks!

<EMBED src=http://webpages.charter.net/smiling_samurai/gtp/ex.mp3 type=audio/mpeg></EMBED>


:thumbsup:

mrruben5
12-01-2004, 01:18 PM
i'm using the below code to embed an mp3 onto my webpage. i want the file to play as soon as the page loads. i thought the code was autostart="true", but that didn't work. anyone know what the code is to get this file to play automatically? thanks!

<EMBED src=http://webpages.charter.net/smiling_samurai/gtp/ex.mp3 type=audio/mpeg></EMBED>


:thumbsup:

try killing the content type that should work.

aditional information found from google (http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html)

smiling_samurai
12-03-2004, 12:38 AM
it was autostart="true" :thumbsup:, for some reason it wasnt working before :p

Jalenack
12-03-2004, 01:45 AM
what was messing you up is the lack of quotes..ALWAYS put quotes for values example <embed src="bla.mov">.

<embed> is deprecated I believe, but o well. and most people don't enjoy hearing music when they log on to a site, but thats your choice