Sie sind nicht angemeldet.

1

Sonntag, 21. Juni 2020, 02:33

Counting player loop times

Is there a way to count the number of times a video player has looped? So it is possible to call an event after a certain number of loops?

ThANKS

3

Sonntag, 21. Juni 2020, 17:38

Yes, Im aware of the oncomplete , but can I count the number of oncomplete calls?
krpano.get("plugin[NAME]").oncompletes

4

Sonntag, 21. Juni 2020, 21:32

no you create an action which counts :)

set(myloops,0);
set(plugin[NAME].oncomplete, inc(myloops));

5

Montag, 22. Juni 2020, 02:05

Thanks ill give it a whirl.