PARCEL_MEDIA_COMMAND_URL
constant
Constant
integer PARCEL_MEDIA_COMMAND_URL = 5;Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel's media URL.
Constant groups
ParcelMediaCommand · ParcelMediaQuery
Other ParcelMediaCommand values (13)
PARCEL_MEDIA_COMMAND_AGENT7PARCEL_MEDIA_COMMAND_AUTO_ALIGN9PARCEL_MEDIA_COMMAND_DESC12PARCEL_MEDIA_COMMAND_LOOP3PARCEL_MEDIA_COMMAND_LOOP_SET13PARCEL_MEDIA_COMMAND_PAUSE1PARCEL_MEDIA_COMMAND_PLAY2PARCEL_MEDIA_COMMAND_SIZE11PARCEL_MEDIA_COMMAND_STOP0PARCEL_MEDIA_COMMAND_TEXTURE4PARCEL_MEDIA_COMMAND_TIME6PARCEL_MEDIA_COMMAND_TYPE10PARCEL_MEDIA_COMMAND_UNLOAD8
Other ParcelMediaQuery values (5)
Used to get or set the parcel’s media url.
See also
Section titled “See also”Constants
Section titled “Constants”|
| Constant | Parameter | Description | ||
|---|---|---|---|---|
| 0 | PARCEL_MEDIA_COMMAND_STOP | Stop the media stream and go back to the first frame. | ||
| 1 | PARCEL_MEDIA_COMMAND_PAUSE | Pause the media stream (stop playing but stay on current frame). | ||
| 2 | PARCEL_MEDIA_COMMAND_PLAY | Start the media stream playing from the current frame and stop when the end is reached. | ||
| 3 | PARCEL_MEDIA_COMMAND_LOOP | Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue. | ||
| 4 | PARCEL_MEDIA_COMMAND_TEXTURE | key uuid | Used to get or set the parcel’s media texture. | |
| 5 | PARCEL_MEDIA_COMMAND_URL | string url | Used to get or set the parcel’s media url. | |
| 6 | PARCEL_MEDIA_COMMAND_TIME | float time | Move a media stream to a specific time in (floating point) seconds. | |
| 7 | PARCEL_MEDIA_COMMAND_AGENT | key uuid | Applies the media command to the specified agent only. | |
| 8 | PARCEL_MEDIA_COMMAND_UNLOAD | Used to unload the movie and restores the original texture. | ||
| 9 | PARCEL_MEDIA_COMMAND_AUTO_ALIGN | integer boolean | Used to set the parcel option ‘Auto scale content’. | |
| 10 | PARCEL_MEDIA_COMMAND_TYPE | string mime_type | Used to get or set the parcel media MIME type (e.g. “text/html”). (1.19.1 RC0 or later) | |
| 11 | PARCEL_MEDIA_COMMAND_SIZE | integer x, integer y | Used to get or set the parcel media pixel resolution. (1.19.1 RC0 or later) | |
| 12 | PARCEL_MEDIA_COMMAND_DESC | string desc | Used to get or set the parcel media description. (1.19.1 RC0 or later) | |
| 13 | PARCEL_MEDIA_COMMAND_LOOP_SET | float loop | Used to get or set the parcel’s media loop duration. (1.19.1 RC0 or later) | |
Functions
Section titled “Functions”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.