little change to replay a random video when a video has finished