When set to TRUE, playing MP4 videos directly loop as they should, but WEBM videos do not.
string html;
default
{
state_entry()
{
llSetPrimMediaParams(0,
[PRIM_MEDIA_AUTO_PLAY,TRUE,
PRIM_MEDIA_AUTO_LOOP,TRUE,
PRIM_MEDIA_CURRENT_URL,html,
PRIM_MEDIA_HOME_URL,html,
PRIM_MEDIA_HEIGHT_PIXELS,512,
PRIM_MEDIA_WIDTH_PIXELS,1024]);
}
}