Join us in Outworldz at or follow us:

[Table of Contents]

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Viewer 2 llSetPrimMediaParams  



Category: Viewer 2
By : Kelly Linden
Created: 2010-09-02 Edited: 2010-09-02
Worlds: Second Life

the Zip file

Download all files for llSetPrimMediaParams
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. llSetPrimMediaParams_1.lsl
2 default
3 {
5 {
6 llSetPrimMediaParams(0, // Side to display the media on.
7 [PRIM_MEDIA_AUTO_PLAY,TRUE, // Show this page immediately
8 PRIM_MEDIA_CURRENT_URL,"", // The url currently showing
9 PRIM_MEDIA_HOME_URL,"", // The url if they hit 'home'
10 PRIM_MEDIA_HEIGHT_PIXELS,512, // Height/width of media texture will be
11 PRIM_MEDIA_WIDTH_PIXELS,512]); // rounded up to nearest power of 2.
12 }
13 }

Back to the Best Free Tools in Second Life and OpenSim.