Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
| Background Music; rather, Frontground Music | |
|---|---|
| Tweet Topic Started: Apr 10 2009, 08:41 PM (5,274 Views) | |
| Chris | Apr 10 2009, 08:41 PM Post #1 |
![]()
|
This is my first filled code request, ever. Usually I just make my own codes. But this one was kind of fun to make. ![]() There is only one bug that I know of right now. In Firefox the iFrame will sometimes not load. To get it to work, simply hit the Refresh Button. .::Preview::. http://s1.zetaboards.com/Chris_Codes/pages/music To get the player to show, click the icon that you see on the bottom left. If you click it again, the player will hide away again. ![]() .::Instructions::. Go to your Admin CP and click Website Maker. Make a new Website, and for the content put in this script:
You are welcome to edit any of the code, but there are some variables for the obvious stuff. To set a file, find this line: Replace ... with the url of your Audio File. To change the width, find this line: Replace 200 with the numerical width that you want. That's all! Please let me know if you find any bugs or have some suggestions.
|
![]() |
|
| whosyourdaddy | Apr 12 2009, 01:10 PM Post #2 |
![]()
|
This is really neat. Is there a way to add this to an actual post? Or is it just for the board in general? |
![]() |
|
| Chris | Apr 12 2009, 01:35 PM Post #3 |
![]()
|
You can just use an embed tag if you want music in a specific topic, but not if you want it to not reload on each page change. |
![]() |
|
| God Like Oni | Apr 23 2009, 06:51 AM Post #4 |
![]()
|
Umm... does the song reload if you click a link? |
![]()
| |
![]() |
|
| Reid | Apr 23 2009, 08:19 AM Post #5 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
It shouldn't. |
| The Resource Board | |
![]() |
|
| ANDREW TOPGUNS | Apr 23 2009, 08:26 AM Post #6 |
|
10% of the way to 1000 club!
![]()
|
Very nice code and i'm glad it doesn't reload on each link, it can also get the community involved by having requests played for certain days.
|
![]()
| |
![]() |
|
| Hiddenzbu | Jun 13 2009, 09:44 PM Post #7 |
![]() ![]()
|
Are you only allowed one song/music file via this method? |
| |
![]() |
|
| Chris | Jun 19 2009, 10:06 PM Post #8 |
![]()
|
If you have a player that is written intirely in a flash file, just use the link to that file. You can edit the height of the <object> and <embed>, and it should work just the same.
|
![]() |
|
| jithin | Jun 20 2009, 06:17 AM Post #9 |
![]()
|
i have put the script in the webste maker content but still it doesnt work |
![]() |
|
| Chris | Jun 20 2009, 08:21 PM Post #10 |
![]()
|
How about posting a forum url??
Edited by Chris, Jun 20 2009, 08:21 PM.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Zetaboards Modifications · Next Topic » |




















7:39 PM Jul 10