Ulysses Stuff > Releases

URL Playsound Addon :) [2.28v]

<< < (19/29) > >>

JamminR:

--- Quote from: Binary on December 23, 2014, 10:17:33 AM ---Kinda hard to find an URL that would work, since it doesn't load YouTube....

--- End quote ---
Oh?
If you don't have your own web server to host sound files on, then, Google turned up some results QUICK for me.
https://archive.org/download/testmp3testfile/mpthreetest.mp3 <- silly-but, just goes to show they're out there and quickly found if you don't have your own hosting site.
Could probably turn a shoutcast.com m3u into a pls too, but I've no idea if PlayURL does "live" streams rather than just files.

Bite That Apple:

--- Quote from: Binary on December 23, 2014, 10:17:33 AM ---Kinda hard to find an URL that would work, since it doesn't load YouTube....

--- End quote ---

This addon here is what you're looking for to play Youtube Videos. It has been around for seeminglessly, forever. It will do what you request.
https://steamcommunity.com/sharedfiles/filedetails/?id=106516163

jamm0:
Is there a way to make this opt-in instead of opt-out and keep a list of those that opted in, so when a mapchange occurs it won't get reset? Thanks

ChosenOne:
You could do what I did and create a client side convar and add a place for the player to change that convar (since I'm doing TTT I added it to the F1 menu). Then when the playURL command is run, you create a filter, loop through all the players, add each player that has their convar set to hear the sound to the filter, and finally send the filter to the playURL command. This will make only the people who have opted in to hear the sounds and it will stay over map changes.

richlen99:
it seems that on my server, the sound stops after like ~2/3 mins....possible bug?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version