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

From Second Life Wiki
Jump to navigation Jump to search
Line 5: Line 5:
!Description
!Description
{{!}}-
{{!}}-
{{#ifeq:{{{type|all}}}|query||{{!}} colspan="2" {{!}}{{LSLG|PARCEL_MEDIA_COMMAND_STOP}}
{{#ifeq:{{{1|all}}}|query||{{!}} colspan="2" {{!}}{{LSLG|PARCEL_MEDIA_COMMAND_STOP}}
{{!}}0
{{!}}0
{{!}}Stop the media stream and go back to the first frame.
{{!}}Stop the media stream and go back to the first frame.
Line 31: Line 31:
{{!}}Used to get or set the parcel's media url.  
{{!}}Used to get or set the parcel's media url.  
{{!}}-
{{!}}-
{{#ifeq:{{{type|all}}}|query||{{!}}{{LSLG|PARCEL_MEDIA_COMMAND_TIME}}
{{#ifeq:{{{1|all}}}|query||{{!}}{{LSLG|PARCEL_MEDIA_COMMAND_TIME}}
{{!}}float time
{{!}}float time
{{!}}6
{{!}}6

Revision as of 23:52, 22 February 2007

Constant Parameter Value Description
PARCEL_MEDIA_COMMAND_STOP 0 Stop the media stream and go back to the first frame.
PARCEL_MEDIA_COMMAND_PAUSE 1 Pause the media stream (stop playing but stay on current frame).
PARCEL_MEDIA_COMMAND_PLAY 2 Start the media stream playing from the current frame and stop when the end is reached.
PARCEL_MEDIA_COMMAND_LOOP 3 Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue.
PARCEL_MEDIA_COMMAND_TEXTURE key uuid 4 Use this to get or set the parcel's media texture.
PARCEL_MEDIA_COMMAND_URL string url 5 Used to get or set the parcel's media url.
PARCEL_MEDIA_COMMAND_TIME float time 6 Move a media stream to a specific time.
PARCEL_MEDIA_COMMAND_AGENT key uuid 7 Applies the media command to the specified agent only.
PARCEL_MEDIA_COMMAND_UNLOAD 8 Completely unloads the movie and restores the original texture.
PARCEL_MEDIA_COMMAND_AUTO_ALIGN 9 Sets the parcel option 'Auto scale content'.
Constant Parameter Value Description
PARCEL_MEDIA_COMMAND_TEXTURE key uuid 4 Use this to get or set the parcel's media texture.
PARCEL_MEDIA_COMMAND_URL string url 5 Used to get or set the parcel's media url.
Constant Parameter Value Description
PARCEL_MEDIA_COMMAND_STOP 0 Stop the media stream and go back to the first frame.
PARCEL_MEDIA_COMMAND_PAUSE 1 Pause the media stream (stop playing but stay on current frame).
PARCEL_MEDIA_COMMAND_PLAY 2 Start the media stream playing from the current frame and stop when the end is reached.
PARCEL_MEDIA_COMMAND_LOOP 3 Start the media stream playing from the current frame. When the end is reached, loop to the beginning and continue.
PARCEL_MEDIA_COMMAND_TEXTURE key uuid 4 Use this to get or set the parcel's media texture.
PARCEL_MEDIA_COMMAND_URL string url 5 Used to get or set the parcel's media url.
PARCEL_MEDIA_COMMAND_TIME float time 6 Move a media stream to a specific time.
PARCEL_MEDIA_COMMAND_AGENT key uuid 7 Applies the media command to the specified agent only.
PARCEL_MEDIA_COMMAND_UNLOAD 8 Completely unloads the movie and restores the original texture.
PARCEL_MEDIA_COMMAND_AUTO_ALIGN 9 Sets the parcel option 'Auto scale content'.