|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Dec 2001
Location: AZ
Posts: 7,697
|
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? |
|
|
|
|
|
#2 |
|
Too lazy to set a koala
Industry Role:
Join Date: Jan 2007
Location: CZ/EU forever!
Posts: 16,139
|
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
__________________
|
|
|
|
|
|
#3 |
|
Confirmed User
Industry Role:
Join Date: Dec 2001
Location: AZ
Posts: 7,697
|
hmm I'll look into that
|
|
|
|
|
|
#4 |
|
Sofa King Band
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
|
Check out the <embed> tag.
|
|
|
|
|
|
#5 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
<embed src=song.mp3 autoplay=true autolooop=true width=0 height=0>
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#6 | |
|
Confirmed User
Join Date: Feb 2006
Posts: 1,523
|
Quote:
good one, needed that too thanks |
|
|
|
|
|
|
#7 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
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
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#8 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
p.s. i think its loop=true not autoloop=true
or playcount=99
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#9 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
ill create you a cool one in flash for free if you want..
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#10 |
|
Too lazy to set a koala
Industry Role:
Join Date: Jan 2007
Location: CZ/EU forever!
Posts: 16,139
|
great offer from bear mattz, take this one, you will not find anything better!
__________________
|
|
|
|
|
|
#11 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
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
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#12 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
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..
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#13 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
i just updated the demo so you can see how it would be used on a page (like in context )
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#14 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
dont use it yet though if you want to use it let me know and ill make it a little more custom
__________________
hatisblack at yahoo.com |
|
|
|