<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Media on a Prim MOAP Question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT FACE="Times New Roman">Dear all,</FONT>
</P>

<P><FONT FACE="Times New Roman">mayby i asked it before (can not find any reference for it) but is there a possibility<BR>
to display a Webpage via MOAP (Media on a Prim) by script without a touch on the prims face ?<BR>
</FONT>

<BR><FONT FACE="Times New Roman">When i set the Webpage manually on the Prim (and touch it) it works. I found out that this script snippet<BR>
works, BUT ONLY after i clicked the specific face of the prim.</FONT>
</P>

<P><FONT FACE="Times New Roman">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, "</FONT><A HREF="http://opensimulator.org/wiki/Media_On_A_Prim"><U><FONT COLOR="#0000FF" FACE="Times New Roman">http://opensimulator.org/wiki/Media_On_A_Prim</FONT></U></A><FONT FACE="Times New Roman">",<BR>
PRIM_MEDIA_HOME_URL, "</FONT><A HREF="http://opensimulator.org/wiki/Media_On_A_Prim"><U><FONT COLOR="#0000FF" FACE="Times New Roman">http://opensimulator.org/wiki/Media_On_A_Prim</FONT></U></A><FONT FACE="Times New Roman">",<BR>
PRIM_MEDIA_AUTO_PLAY, TRUE,<BR>
PRIM_MEDIA_AUTO_LOOP, TRUE<BR>
//PRIM_MEDIA_FIRST_CLICK_INTERACT, TRUE<BR>
]);<BR>
}<BR>
</FONT>

<BR><FONT FACE="Times New Roman">}</FONT>
</P>

<P><FONT FACE="Times New Roman">Even when setting PRIM_MEDIA_FIRST_CLICK_INTERACT, FALSE it needs a touch to the prims face (in this case face 2) to display the webpage.</FONT></P>

<P><FONT FACE="Times New Roman">(As of the SL Wiki </FONT><A HREF="http://wiki.secondlife.com/wiki/LlSetPrimMediaParams"><U><FONT COLOR="#0000FF" FACE="Times New Roman">http://wiki.secondlife.com/wiki/LlSetPrimMediaParams</FONT></U></A><FONT FACE="Times New Roman"> PRIM_MEDIA_FIRST_CLICK_INTERACT the flag does not appear to work)</FONT></P>

<P><FONT FACE="Times New Roman">Also PRIM_MEDIA_AUTO_PLAY, TRUE and PRIM_MEDIA_AUTO_LOOP, TRUE does not make any difference.</FONT>

<BR><FONT FACE="Times New Roman">Anything i missed ? Any help would be appreciated !</FONT>
</P>

<P><FONT FACE="Times New Roman">best regards,</FONT>

<BR><FONT FACE="Times New Roman">Wordfromthe Wise</FONT>
</P>

<P><FONT FACE="Times New Roman">[repost as in opensim.dev nobody answered]</FONT>
</P>

</BODY>
</HTML>