No _vti
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
vti_encoding:SR|utf8-nl
|
||||
vti_timelastmodified:TR|08 Sep 2013 03:49:03 -0000
|
||||
vti_extenderversion:SR|12.0.0.6211
|
||||
vti_backlinkinfo:VX|
|
||||
vti_author:SR|alien\\fred
|
||||
vti_modifiedby:SR|alien\\fred
|
||||
vti_timecreated:TR|18 Sep 2013 20:38:56 -0000
|
||||
@@ -1,76 +0,0 @@
|
||||
// :CATEGORY:Viewer 2
|
||||
// :NAME:llSetPrimMediaParams_using_HTTPIn
|
||||
// :AUTHOR:Kelly Linden
|
||||
// :CREATED:2010-09-02 10:58:09.613
|
||||
// :EDITED:2013-09-18 15:38:56
|
||||
// :ID:488
|
||||
// :NUM:655
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// llSetPrimMediaParams_using_HTTPIn
|
||||
// :CODE:
|
||||
show(string html)
|
||||
|
||||
{
|
||||
|
||||
html = "data:text/html," + llEscapeURL(html);
|
||||
|
||||
llSetPrimMediaParams(0, // Side to display the media on.
|
||||
|
||||
[PRIM_MEDIA_AUTO_PLAY,TRUE, // Show this page immediately
|
||||
|
||||
PRIM_MEDIA_CURRENT_URL,html, // The url currently showing
|
||||
|
||||
PRIM_MEDIA_HOME_URL,html, // The url if they hit 'home'
|
||||
|
||||
PRIM_MEDIA_HEIGHT_PIXELS,512, // Height/width of media texture will be
|
||||
|
||||
PRIM_MEDIA_WIDTH_PIXELS,512]); // rounded up to nearest power of 2.
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
string replace_all(string src, string target, string replace)
|
||||
|
||||
{
|
||||
|
||||
return llDumpList2String(llParseString2List(src,[target],[]),replace);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
string get_query(key id, string name)
|
||||
|
||||
{
|
||||
|
||||
string query = llGetHTTPHeader(id,"x-query-string");
|
||||
|
||||
query = replace_all(query,"+"," ");
|
||||
|
||||
query = llUnescapeURL(query);
|
||||
|
||||
list q = llParseString2List(query,["=","&",";"],[]);
|
||||
|
||||
integer i = llListFindList(q,[name]);
|
||||
|
||||
if (i != -1)
|
||||
|
||||
{
|
||||
|
||||
return llList2String(q,i+1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return "";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
default
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
vti_encoding:SR|utf8-nl
|
||||
vti_timelastmodified:TR|17 Aug 2013 23:32:37 -0000
|
||||
vti_extenderversion:SR|12.0.0.0
|
||||
vti_cacheddtm:TX|17 Aug 2013 23:32:37 -0000
|
||||
vti_filesize:IR|305
|
||||
vti_backlinkinfo:VX|
|
||||
@@ -1,6 +0,0 @@
|
||||
<Project name="llSetPrimMediaParams_using_HTTPIn" guid="D858D566-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D858D65F-6C00-1014-B904-200204C60A89">
|
||||
<Script name="llSetPrimMediaParams_using_HTTPIn_1.lsl" guid="D858F62F-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user