Skip to content
lsl.devlsl.devLSL Dev

PARCEL_MEDIA_COMMAND_TYPE

constant
Constant
integer PARCEL_MEDIA_COMMAND_TYPE = 10;

Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel media MIME type (e.g., 'text/html').

Constant groups

ParcelMediaCommand · ParcelMediaQuery

Other ParcelMediaCommand values (13)
Other ParcelMediaQuery values (5)

Use this to get or set the parcel media MIME type (e.g. “text/html”).

|

ConstantParameterDescription
0PARCEL_MEDIA_COMMAND_STOPStop the media stream and go back to the first frame.
1PARCEL_MEDIA_COMMAND_PAUSEPause the media stream (stop playing but stay on current frame).
2PARCEL_MEDIA_COMMAND_PLAYStart the media stream playing from the current frame and stop when the end is reached.
3PARCEL_MEDIA_COMMAND_LOOPStart the media stream playing from the current frame. When the end is reached, loop to the beginning and continue.
4PARCEL_MEDIA_COMMAND_TEXTUREkey uuidUsed to get or set the parcel’s media texture.
5PARCEL_MEDIA_COMMAND_URLstring urlUsed to get or set the parcel’s media url.
6PARCEL_MEDIA_COMMAND_TIMEfloat timeMove a media stream to a specific time in (floating point) seconds.
7PARCEL_MEDIA_COMMAND_AGENTkey uuidApplies the media command to the specified agent only.
8PARCEL_MEDIA_COMMAND_UNLOADUsed to unload the movie and restores the original texture.
9PARCEL_MEDIA_COMMAND_AUTO_ALIGNinteger booleanUsed to set the parcel option ‘Auto scale content’.
10PARCEL_MEDIA_COMMAND_TYPEstring mime_typeUsed to get or set the parcel media MIME type (e.g. “text/html”). (1.19.1 RC0 or later)
11PARCEL_MEDIA_COMMAND_SIZEinteger x, integer yUsed to get or set the parcel media pixel resolution. (1.19.1 RC0 or later)
12PARCEL_MEDIA_COMMAND_DESCstring descUsed to get or set the parcel media description. (1.19.1 RC0 or later)
13PARCEL_MEDIA_COMMAND_LOOP_SETfloat loopUsed to get or set the parcel’s media loop duration. (1.19.1 RC0 or later)
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.