GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How do I get a song to play in HTML? (https://gfy.com/showthread.php?t=709699)

mattz 02-26-2007 09:04 AM

How do I get a song to play in HTML?
 
Hey,

How do I get a song to play in the backround of an html page? Anyone have the code?

TeenCat 02-26-2007 09:08 AM

maybe you can use flash for that, try search google for "flash jukebox sample" or something similar. next way is mid file, but i highly not recommend it cause the music is always so loud. hope that helps :thumbsup

mattz 02-26-2007 09:12 AM

hmm I'll look into that

StuartD 02-26-2007 09:13 AM

Check out the <embed> tag.

SmokeyTheBear 02-26-2007 09:15 AM

<embed src=song.mp3 autoplay=true autolooop=true width=0 height=0>

rotterdammer 02-26-2007 09:16 AM

Quote:

Originally Posted by SmokeyTheBear (Post 11975640)
<embed src=song.mp3 autoplay=true autolooop=true width=0 height=0>


good one, needed that too thanks

SmokeyTheBear 02-26-2007 09:16 AM

but thats kind of ghey as if the user doesnt want the music they have no choice but to close or turn sound down.

You should do it in flash

SmokeyTheBear 02-26-2007 09:17 AM

p.s. i think its loop=true not autoloop=true
or playcount=99

SmokeyTheBear 02-26-2007 09:21 AM

ill create you a cool one in flash for free if you want..

TeenCat 02-26-2007 09:29 AM

Quote:

Originally Posted by SmokeyTheBear (Post 11975671)
ill create you a cool one in flash for free if you want..

great offer from bear mattz, take this one, you will not find anything better! :thumbsup

SmokeyTheBear 02-26-2007 09:37 AM

it will load dynamic mp3's heres an example http://smokeycash.com/mat/

you download the swf http://smokeycash.com/mat/mat.swf then place it in a directory with 10 mp3's named track01.mp3 thru track10.mp3

the demo i made just has 1 track in the directory so only #1 will work..

p.s. it streams the mp3 so it will play before it finished downloading

SmokeyTheBear 02-26-2007 09:39 AM

you can drag the mp3 player around the window but in the demo i just placed it in a tiny movie so it doesnt drag far depending on how you were going to use it you would make the flash the size of the window then put it on an overlay so users could drag the mp3 player around..

SmokeyTheBear 02-26-2007 09:51 AM

i just updated the demo so you can see how it would be used on a page (like in context )

SmokeyTheBear 02-26-2007 09:54 AM

dont use it yet though if you want to use it let me know and ill make it a little more custom


All times are GMT -7. The time now is 12:40 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123