inherit
209176
0
Apr 28, 2023 3:24:54 GMT -8
Velociraptor
93
May 2014
velociraptor
|
Post by Velociraptor on May 12, 2014 14:39:22 GMT -8
Hi,
I need help with adding music to my forum. I need the music to be played nonstop and auto-play.
Right now, I uploaded the music to a free hosting site and use them embedded code in global header. The problem is, I still need to manually click play button.
And the embedded code I was using is like this (in case anyone have better than this one): Note: I removed the hosting URL into [REMOVED URL]
Thanks in advance.
|
|
inherit
The Great Cinnamon Roll
191518
0
Oct 19, 2016 22:17:44 GMT -8
David Clark
Care for some tai chi with your chai tea?
17,602
March 2013
davidlinc1
|
Post by David Clark on May 15, 2014 11:25:09 GMT -8
Hey Velociraptor, It should be possible to do this, but I should warn you that historically, music on web pages that starts automatically and cannot be stopped/disabled has pretty much been proven to drive away certain users. It's universally considered to be a web design faux pas - you sure you wanted it that way?
|
|
inherit
209176
0
Apr 28, 2023 3:24:54 GMT -8
Velociraptor
93
May 2014
velociraptor
|
Post by Velociraptor on May 15, 2014 18:43:47 GMT -8
Yes, that would be great My forum is just guides of an online game.
|
|
inherit
The Great Cinnamon Roll
191518
0
Oct 19, 2016 22:17:44 GMT -8
David Clark
Care for some tai chi with your chai tea?
17,602
March 2013
davidlinc1
|
Post by David Clark on May 16, 2014 8:32:09 GMT -8
I should be able to help with this later today.
|
|
inherit
The Great Cinnamon Roll
191518
0
Oct 19, 2016 22:17:44 GMT -8
David Clark
Care for some tai chi with your chai tea?
17,602
March 2013
davidlinc1
|
Post by David Clark on May 16, 2014 10:37:53 GMT -8
|
|
inherit
The Great Cinnamon Roll
191518
0
Oct 19, 2016 22:17:44 GMT -8
David Clark
Care for some tai chi with your chai tea?
17,602
March 2013
davidlinc1
|
Post by David Clark on May 17, 2014 8:27:30 GMT -8
It can be if you put the code into just the single board's header, jrryan, but that would also play it in threads in that board. If you wanted it to play only on one board and only on the thread list level, you'd have to enclose it within an {if} statement in your board list template.
|
|
inherit
209176
0
Apr 28, 2023 3:24:54 GMT -8
Velociraptor
93
May 2014
velociraptor
|
Post by Velociraptor on May 17, 2014 20:18:57 GMT -8
Thanks David Clark, the script works great. Unfortunately, I didn't realize finding a free hosting site with actual .swf/.mp3/.wav as the extension in the link is the hardest part. Trying to use one like this (pasting it as the Data URL) will direct people to that website Seems only picture hosting sites that still provide direct file access (the .JPG). So I still can use uploaded music/swf like this one. Thanks for the great help
|
|