Template:LSL Constants/PrimMedia

From Second Life Wiki
Revision as of 17:42, 19 October 2009 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search
This information is very preliminary. It is based on guesswork, parameter types, layout and comments from the source code.
Parameter Return Values / Additional Parameters Description
PRIM_MEDIA_ALT_IMAGE_ENABLE ] 0 [ integer boolean ] Gets / Sets whether an alternate image is enabled.
PRIM_MEDIA_CONTROLS ] 1 [ integer control ] Gets / Sets the style of controls.
controls Flags Description
PRIM_MEDIA_CONTROLS_STANDARD 0 Standard web navigation controls.
PRIM_MEDIA_CONTROLS_MINI 1 Mini web navigation controls; does not include an address bar.
PRIM_MEDIA_CURRENT_URL ] 2 [ string current_url ] Gets / Sets the current url.
PRIM_MEDIA_HOME_URL ] 3 [ string home_url ] Gets / Sets the home url.
PRIM_MEDIA_AUTO_LOOP ] 4 [ integer boolean ] Gets / Sets whether auto-looping is enabled.
PRIM_MEDIA_AUTO_PLAY ] 5 [ integer boolean ] Gets / Sets whether auto-playing is enabled.
PRIM_MEDIA_AUTO_SCALE ] 6 [ integer boolean ] Gets / Sets whether auto-scaling is enabled.
PRIM_MEDIA_AUTO_ZOOM ] 7 [ integer boolean ] Gets / Sets whether auto-zooming is enabled.
PRIM_MEDIA_FIRST_CLICK_INTERACT ] 8 [ integer boolean ] Gets / Sets whether the first click interaction is enabled.
PRIM_MEDIA_WIDTH_PIXELS ] 9 [ integer width ] Gets / Sets the width in pixels.
PRIM_MEDIA_HEIGHT_PIXELS ] 10 [ integer height ] Gets / Sets the height in pixels.
PRIM_MEDIA_WHITELIST_ENABLE ] 11 [ integer boolean ] Gets / Sets whether the white-list is enabled or disabled.
PRIM_MEDIA_WHITELIST ] 12 Gets / Sets the whitelist.[1]
PRIM_MEDIA_PERMS_INTERACT ] 13 [ integer perms ] Gets / Sets the permissions mask that control who can interact with the object.
PRIM_MEDIA_PERMS_CONTROL ] 14 [ integer perms ] Gets / Sets the permissions mask that control who can control the object.