![]() | | ||||||||
| | #1 |
| Banned Join Date: Feb 2009 Location: Indiana
Posts: 51
Thanks: 46
Thanked 2 Times in 2 Posts
|
I have a client who is a DJ at a local radio station. I just built him a website. I know how to put music on a website, but he wants to do something a little different and I'm not sure how to do it. He has 5 mixes that he's done. He wants the 5 mixes to play randomly when anyone signs onto the website. For instance, if i go to his website now, it will play mix #3. Next time I log in, it plays mix #5. He also wants to have the mix play continuously as you browse the site through its different tabs. Is there a way to do this? Maybe a player you can install on the site? I haven't had this one come up before - thanks for your help! |
| | |
| | #2 |
| Father of the Gods War Room Member Join Date: Apr 2008 Location: Valhalla
Posts: 373
Blog Entries: 2 Thanks: 25
Thanked 24 Times in 18 Posts
|
I'd try to convince him not to do it, personally. I think that there's nothing more annoying than having music play as soon as a page loads, even if you're talking about a musical artist. If you have to code it, it would be pretty easy, just use PHP to make a random number when a visitor loads, and then have the player check that to determine which file to play. |
| | |
| | |
| | #3 |
| Post-Modern Retro NOW! Join Date: Mar 2009 Location: Fort Lauderdale, FL
Posts: 198
Thanks: 12
Thanked 39 Times in 26 Posts
|
I agree that having music play the minute you get to a site is a complete turnoff. Not to mention how badly the loading time bogs things down. Consider installing a simple flash or java applet MP3 player, there's tons of them available. For example: Music Scripts - PHP Scripts |
| | |
| | #4 | |
| Senior Warrior Member War Room Member Join Date: Oct 2004 Location: New Zealand.
Posts: 1,213
Thanks: 99
Thanked 72 Times in 63 Posts
| Quote:
Also I agree with Odhinn, I hate going to a site only to have music pop up. I'll quickly look for a way to stop it, if I can't see a way to stop it immediately then I'm closing the browser or hitting the back button ASAP. | |
| | |
![]() |
|
| Tags |
| music, put, website |
| Thread Tools | |
| |
![]() |