Wix Pro Gallery Loop

Hello,
I need the Wix Pro Gallery to loop advancing trough slides for a casino site. The slides will have repeaters that will connect to a database that receives the amounts in real time. At least that is the idea.
I’ll use galleries all over the site that i’ll need to be advancing automatically. In the case of the “default” gallery that is possible, but then I can’t have several images in a grid, for that I need the pro Gallery, but then I can’t have that Gallery Type to loop between slides… so I’m stuck in first step here. I’ve tried this with no luck:

$w.onReady(function () {
 let isPlaying = $w("#gallery1").isPlaying; // true

});

Any help will be greatly appreciated!!

That only gets the elements playing status

let isPlaying = $w("#gallery1").isPlaying; // true

If you want it to play or be paused then you will have to write more code for it, as shown in the API reference for it. https://www.wix.com/corvid/reference/$w.PlayableMixin.html

if( $w("#myElement").isPlaying ) {
  $w("#myElement").pause();
}
else {
  $w("#myElement").play();
}

I would like to loop the elements, not to have them advancing automatically, but I have a gallery with a few items (three) but I would like them to repeat and fit the whole screen. Is it possible? How? It has to be the pro gallery