<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Media on a Prim MOAP</TITLE>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 10.00.9200.16686"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=484240109-23102013>OK, i found out that this script snippet works, BUT
ONLY after i clicked the specific face of the prim</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=484240109-23102013></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial> default<BR>{<BR>
state_entry()<BR>
{<BR> integer
status;<BR> status =
llSetPrimMediaParams(2,
[<BR>
PRIM_MEDIA_CONTROLS,
PRIM_MEDIA_CONTROLS_STANDARD,<BR>
PRIM_MEDIA_CURRENT_URL, "<A
href="http://opensimulator.org/wiki/Media_On_A_Prim">http://opensimulator.org/wiki/Media_On_A_Prim</A>",<BR>
PRIM_MEDIA_HOME_URL, "<A
href="http://opensimulator.org/wiki/Media_On_A_Prim">http://opensimulator.org/wiki/Media_On_A_Prim</A>",<BR>
PRIM_MEDIA_AUTO_PLAY,
TRUE,<BR>
PRIM_MEDIA_AUTO_LOOP,
TRUE<BR>
//PRIM_MEDIA_FIRST_CLICK_INTERACT,
TRUE<BR>
]<BR>
);<BR> <BR>
}<BR>}</FONT></DIV>
<DIV><FONT color=#0000ff><FONT size=2 face=Arial></FONT></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><SPAN class=484240109-23102013><FONT color=#0000ff size=2 face=Arial>Even
when setting PRIM_MEDIA_FIRST_CLICK_INTERACT, <SPAN
class=484240109-23102013>FALSE it needs a click to show the
Webpage.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=484240109-23102013><FONT color=#0000ff size=2 face=Arial><SPAN
class=484240109-23102013>(as of the SL Wiki <A
href="http://wiki.secondlife.com/wiki/LlSetPrimMediaParams">http://wiki.secondlife.com/wiki/LlSetPrimMediaParams</A> PRIM_MEDIA_FIRST_CLICK_INTERACT
the flag does not appear to work)</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=484240109-23102013><FONT color=#0000ff size=2 face=Arial><SPAN
class=484240109-23102013>Also PRIM_MEDIA_AUTO_PLAY, TRUE and
PRIM_MEDIA_AUTO_LOOP, TRUE does not make any
difference.</SPAN></FONT></SPAN><SPAN class=484240109-23102013><FONT
color=#0000ff size=2 face=Arial><SPAN
class=484240109-23102013></DIV></SPAN></FONT></SPAN>
<DIV><SPAN class=484240109-23102013><FONT color=#0000ff size=2 face=Arial><SPAN
class=484240109-23102013> </DIV></SPAN></FONT></SPAN>
<DIV><SPAN class=484240109-23102013><FONT color=#0000ff size=2 face=Arial><SPAN
class=484240109-23102013>Anything i missed ? </SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial></FONT> </DIV><BR>
<DIV lang=de class=OutlookMessageHeader dir=ltr align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> opensim-dev-bounces@lists.berlios.de
[mailto:opensim-dev-bounces@lists.berlios.de] <B>Im Auftrag von
</B>drWhiet<BR><B>Gesendet:</B> Mittwoch, 23. Oktober 2013 10:58<BR><B>An:</B>
opensim-dev@lists.berlios.de<BR><B>Betreff:</B> [Opensim-dev] Media on a Prim
MOAP<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT size=2 face=Arial>Hi Dear Devs,</FONT> </P>
<P><FONT size=2 face=Arial>Mayby i asked it before (can not find any reference
for it) but is there a possibility to set a Webpage via MOAP (Media on a Prim)
by script ?</FONT></P>
<P><FONT size=2 face=Arial>All the script snippets found on the inet seems to
work in SL but not in Opensim. What would be a basic script for displaying
Webpages by script.</FONT></P>
<P><FONT size=2 face=Arial>When i set the Webpage manually on the Prim it works
but i can not find a way to do this with scripts (lsl or OSSL).</FONT> <BR><FONT
size=2 face=Arial>Any help would be appreciated.</FONT> </P>
<P><FONT size=2 face=Arial>Best regards,<BR>Wordfromthe Wise</FONT>
</P></BODY></HTML>