Jump to content

Looping a Video on Prim from YouTube and/or Google Drive


You are about to reply to a thread that has been inactive for 395 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I made a video for my SL wife, which she wants to have playing looped in our living room. I tried the youtube repeater, and that won't play full screen from the prim when I click "full screen". I can't loop directly from my google drive either, although the image is sharper. Could anyone help?

Link to comment
Share on other sites

A work around would be to make a timer based restart of the video with a script.

// pseudo code
integer bPlaying;
float nVideoLength ; // video length in seconds

void Play()
{
   bPlaying= TRUE;
   llSetTimerEvent( nVideoLength );
}

void Stop()
{
   llSetTimerEvent( 0 );
   bPlaying= FALSE;
}

timer()
{
   if (bPlaying)  { Play(); }
   else
  { Stop(); }
}

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 395 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...