[Opensim-dev] Media on a Prim MOAP

drWhiet drwhiet at spacefriends.de
Wed Oct 23 09:18:42 UTC 2013


OK, i found out that this script snippet works, BUT ONLY after i clicked the
specific face of the prim
 
 default
{
    state_entry()
    {
        integer status;
        status = llSetPrimMediaParams(2, [
            PRIM_MEDIA_CONTROLS, PRIM_MEDIA_CONTROLS_STANDARD,
            PRIM_MEDIA_CURRENT_URL,
"http://opensimulator.org/wiki/Media_On_A_Prim",
            PRIM_MEDIA_HOME_URL,
"http://opensimulator.org/wiki/Media_On_A_Prim",
            PRIM_MEDIA_AUTO_PLAY, TRUE,
            PRIM_MEDIA_AUTO_LOOP, TRUE
            //PRIM_MEDIA_FIRST_CLICK_INTERACT, TRUE
            ]
            );
       
    }
}
 
 
Even when setting PRIM_MEDIA_FIRST_CLICK_INTERACT, FALSE  it needs a click
to show the Webpage.
(as of the SL Wiki http://wiki.secondlife.com/wiki/LlSetPrimMediaParams
PRIM_MEDIA_FIRST_CLICK_INTERACT the flag does not appear to work)
Also  PRIM_MEDIA_AUTO_PLAY, TRUE  and PRIM_MEDIA_AUTO_LOOP, TRUE does not
make any difference.
 
Anything i missed ? 
 
 

  _____  

Von: opensim-dev-bounces at lists.berlios.de
[mailto:opensim-dev-bounces at lists.berlios.de] Im Auftrag von drWhiet
Gesendet: Mittwoch, 23. Oktober 2013 10:58
An: opensim-dev at lists.berlios.de
Betreff: [Opensim-dev] Media on a Prim MOAP



Hi Dear Devs, 

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 ?

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.

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). 
Any help would be appreciated. 

Best regards,
Wordfromthe Wise 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20131023/66e2cad1/attachment-0001.html>


More information about the Opensim-dev mailing list