Difference between revisions of "Template:LSL Constants/Parcel Media"

From Second Life Wiki
Jump to navigation Jump to search
m (consistency)
m
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{{!}} class="sortable" {{Prettytable}}
{{{!}} class="sortable" {{Prettytable|style=margin-top:0;{{#if:{{{b|}}}||margin-bottom:0;}}}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! title="Value" {{!}}
! title="Value" style="min-width:2em;" {{!}}
! Constant
! Constant
! class="unsortable" {{!}} {{{2|Parameter}}}
! class="unsortable" {{!}} {{{2|Parameter}}}
Line 8: Line 8:
{{#ifeq:{{{1|all}}}|query||{{!}}0
{{#ifeq:{{{1|all}}}|query||{{!}}0
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_STOP]]
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_STOP]]
{{!}} style="display:none;" {{!}}
{{!}}Stop the media stream and go back to the first frame.
{{!}}Stop the media stream and go back to the first frame.
{{!}}-
{{!}}-
{{!}}1
{{!}}1
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_PAUSE]]
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_PAUSE]]
{{!}} style="display:none;" {{!}}
{{!}}Pause the media stream (stop playing but stay on current frame).
{{!}}Pause the media stream (stop playing but stay on current frame).
{{!}}-
{{!}}-
{{!}}2
{{!}}2
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_PLAY]]
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_PLAY]]
{{!}} style="display:none;" {{!}}
{{!}}Start the media stream playing from the current frame and stop when the end is reached.
{{!}}Start the media stream playing from the current frame and stop when the end is reached.
{{!}}-
{{!}}-
{{!}}3
{{!}}3
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_LOOP]]
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_LOOP]]
{{!}} style="display:none;" {{!}}
{{!}}Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue. }}
{{!}}Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue. }}
{{!}}-
{{!}}-
Line 25: Line 29:
{{!}}[[PARCEL_MEDIA_COMMAND_TEXTURE]]
{{!}}[[PARCEL_MEDIA_COMMAND_TEXTURE]]
{{!}}[[key]] uuid
{{!}}[[key]] uuid
{{!}}Use this to get or set the parcel's media texture.  
{{!}}Used to get or set the parcel's media texture.  
{{!}}-
{{!}}-
{{!}}5
{{!}}5
Line 35: Line 39:
{{!}}[[PARCEL_MEDIA_COMMAND_TIME]]
{{!}}[[PARCEL_MEDIA_COMMAND_TIME]]
{{!}}[[float]] time
{{!}}[[float]] time
{{!}}Move a media stream to a specific time.  
{{!}}Move a media stream to a specific time in (floating point) seconds.  
{{!}}-
{{!}}-
{{!}}7
{{!}}7
Line 44: Line 48:
{{!}}8
{{!}}8
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_UNLOAD]]
{{!}} colspan="2" {{!}}[[PARCEL_MEDIA_COMMAND_UNLOAD]]
{{!}}Completely unloads the movie and restores the original texture.  
{{!}} style="display:none;" {{!}}
{{!}}Used to unload the movie and restores the original texture.
{{!}}-
{{!}}-
{{!}}9
{{!}}9
{{!}}[[PARCEL_MEDIA_COMMAND_AUTO_ALIGN]]
{{!}}[[PARCEL_MEDIA_COMMAND_AUTO_ALIGN]]
{{!}}[[integer]] boolean
{{!}}[[integer]] boolean
{{!}}Sets the parcel option 'Auto scale content'.
{{!}}Used to set the parcel option 'Auto scale content'.
{{!}}-}}
{{!}}-}}
{{!}}10
{{!}}10
{{!}}[[PARCEL_MEDIA_COMMAND_TYPE]]
{{!}}[[PARCEL_MEDIA_COMMAND_TYPE]]
{{!}}[[string]] mime_type
{{!}}[[string]] mime_type
{{!}}Use this to get or set the parcel media MIME type (e.g. "text/html"). (1.19.1 RC0 or later)
{{!}}Used to get or set the parcel media MIME type (e.g. "text/html"). (1.19.1 RC0 or later)
{{!}}-
{{!}}-
{{!}}11
{{!}}11
{{!}}[[PARCEL_MEDIA_COMMAND_SIZE]]
{{!}}[[PARCEL_MEDIA_COMMAND_SIZE]]
{{!}}[[integer]] x, [[integer]] y
{{!}}[[integer]] x, [[integer]] y
{{!}}Use this to get or set the parcel media pixel resolution. (1.19.1 RC0 or later)
{{!}}Used to get or set the parcel media pixel resolution. (1.19.1 RC0 or later)
{{!}}-
{{!}}-
{{!}}12
{{!}}12
{{!}}[[PARCEL_MEDIA_COMMAND_DESC]]
{{!}}[[PARCEL_MEDIA_COMMAND_DESC]]
{{!}}[[string]] desc
{{!}}[[string]] desc
{{!}}Use this to get or set the parcel media description. (1.19.1 RC0 or later)
{{!}}Used to get or set the parcel media description. (1.19.1 RC0 or later)
{{!}}-
{{!}}-
{{!}}13
{{!}}13
{{!}}[[PARCEL_MEDIA_COMMAND_LOOP_SET]]
{{!}}[[PARCEL_MEDIA_COMMAND_LOOP_SET]]
{{!}}[[float]] loop?
{{!}}[[float]] loop
{{!}}Use this to get or set the parcel's media looping variable. (1.19.1 RC0 or later)
{{!}}Used to get or set the parcel's media loop duration. (1.19.1 RC0 or later)
{{!}}}<noinclude>{{{{FULLPAGENAME}}|query|Return}}{{{{FULLPAGENAME}}|all}}</noinclude>
{{!}}}<noinclude>{{{{FULLPAGENAME}}|query|Return}}{{{{FULLPAGENAME}}|all}}</noinclude>

Latest revision as of 01:47, 5 June 2010

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)
Constant Return Description
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.
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)
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)