audio.createSoundFromURL: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
|type = function | |type = function | ||
|name = audio.createSoundFromURL | |name = audio.createSoundFromURL | ||
|usage = | |usage = create a sound object from an internet stream URL that optionally loops | ||
|parameters = string url, bool loop | |parameters = string url, bool loop | ||
|parameter1 = string url The stream URL | |parameter1 = string url The stream URL |
Latest revision as of 10:45, 28 August 2022
Function
Client Only
Online and Offline
Available since Client 1.0.0
Sound audio.createSoundFromURL(string url, bool loop)
The audio.createSoundFromURL function is used to create a sound object from an internet stream URL that optionally loops.
Parameters
1) | string | url | The stream URL. |
2) | bool | loop | Whether to play the sound repeatedly. |
Return
Sound | A sound object. |
Notes
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.