[Opensim-dev] Media on a Prim MOAP

2013-10-23 Thread drWhiet
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
___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

Re: [Opensim-dev] Media on a Prim MOAP

2013-10-23 Thread drWhiet
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-boun...@lists.berlios.de
[mailto:opensim-dev-boun...@lists.berlios.de] Im Auftrag von drWhiet
Gesendet: Mittwoch, 23. Oktober 2013 10:58
An: opensim-dev@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 

___
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev