Dear all,
mayby i asked it before (can not find any reference for it) but is there a
possibility
to display a Webpage via MOAP (Media on a Prim) by script without a touch on
the prims face ?
When i set the Webpage manually on the Prim (and touch it) it works. 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 touch to
the prims face (in this case face 2) to display 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 ? Any help would be appreciated !
best regards,
Wordfromthe Wise
[repost as in opensim.dev nobody answered]
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users