Template:LSL Constants/PrimMedia
multi-lang:
{{multi-lang}}PRIM_MEDIA_CONTROLS_STANDARD integer 0 m=3 s3=colspan="6" s1=id="PRIM_MEDIA_CONTROLS_STANDARD" c=Standard web navigation controls.
PRIM_MEDIA_CONTROLS_MINI integer 1 m=3 s3=colspan="6" s1=id="PRIM_MEDIA_CONTROLS_MINI" c=Mini web navigation controls; does not include an address bar.
PRIM_MEDIA_FIRST_CLICK_INTERACT integer 8 b=[ e= ] s=rowspan="1" s1=id="PRIM_MEDIA_FIRST_CLICK_INTERACT"
| Parameter | Return Values / Additional Parameters | Description | |||||||
|---|---|---|---|---|---|---|---|---|---|
[ integer boolean ] | Gets / Sets the default image state (the image that the user sees before a piece of media is active) for the chosen face. The default image is specified by Second Life's server for that media type. Note: This flag is not currently implemented. | ||||||||
[ integer control ] | Gets / Sets the style of controls. Can be either PRIM_MEDIA_CONTROLS_STANDARD or PRIM_MEDIA_CONTROLS_MINI. | ||||||||
controls Flags | Description | ||||||||
[ string current_url ] | Gets / Sets the current url displayed on the chosen face. Changing this URL causes navigation. 1024 characters Max | ||||||||
[ string home_url ] | Gets / Sets the home url for the chosen face. 1024 characters max | ||||||||
[ integer boolean ] | Gets / Sets whether auto-looping is enabled. | ||||||||
[ integer boolean ] | Gets / Sets whether the media auto-plays when a Resident can view it. | ||||||||
[ integer boolean ] | Gets / Sets whether auto-scaling is enabled. Auto-scaling forces the media to the full size of the texture. | ||||||||
[ integer boolean ] | Gets / Sets whether clicking the media triggers auto-zoom and auto-focus on the media. | ||||||||
[ integer boolean ] | Gets / Sets what happens when someone click on a playing, but unfocused media face:
| ||||||||
[ integer width ] | Gets / Sets the width of the media in pixels. | ||||||||
[ integer height ] | Gets / Sets the height of the media in pixels. | ||||||||
[ integer boolean ] | Gets / Sets whether navigation is restricted to URLs in PRIM_MEDIA_WHITELIST. | ||||||||
[ string CSV ] | Gets / Sets the whitelist as a string of escaped, comma-separated URLs. This string can hold up to 64 URLs or 1024 characters, whichever comes first. | ||||||||
[ integer perms ] | Gets / Sets the permissions mask that control who can interact with the object: | ||||||||
[ integer perms ] | Gets / Sets the permissions mask that control who can see the media control bar above the object: | ||||||||
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.