Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: TheConsciousness on May 30, 2015, 01:54:28 PM
-
Hi everyone. I've worked with ULX a bit in the past, but now I want to further customize the MOTD by adding in a short MP3 clip. Is there any way to add audio or video to the page?
Right now I've got:
<audio autoplay="true"><source src="sound.mp3" type="audio/mpeg"></audio>
with the MP3 file placed in the motd.txt directory (which doesn't sound right); and it doesn't play. Is there a directory where I'll need to place the file so that it can be played?
-
You'll need to have the mp3 (or any other media) hosted on a actual http server somewhere.
Gmod's motd code doesn't transfer associated external files.
I'm not even sure it would let you use the virtual sounds associated with Source/Gmod that every player might have.
I'm not even sure Source's html (or Gmod's hack of it) would understand the audio tag.
It's very limited.
-
The only way I was able to get this to work was to embed a youtube video and hide it.
That was a while back though, don't know what works these days.