Xogy / xsound

Improved audio library for FiveM
MIT License
115 stars 82 forks source link

Youtube sound URLs no longer play on 1.4.2 #39

Closed davidxd33 closed 1 year ago

davidxd33 commented 1 year ago

Describe the bug On 1.4.1 and below, I've been using the server exports to play sounds from direct URLs on youtube. After updating to 1.4.2 to get the memory leak fixes, I can no longer play URLs.

To Reproduce Steps to reproduce the behavior:

RegisterCommand('test', function(source)
    exports['xsound']:PlayUrl(source, 'test', 'https://www.youtube.com/watch?v=_4kHxtiuML0', 0.02, true)
end)

Expected behavior The sound should play on the source client. On 1.4.1, the sound plays, on 1.4.2, it does not.

Xogy commented 1 year ago

Should be fixed in the newest commit please try it @davidxd33