Chocolat on github

Full window, contain, click the numbers to open:

1 2 3

Full window, cover, looping :

C D

Display in a container, cover, with thumbnails :

Display in a container, looping :

A B C

API use, in container, see code source
Open console to have details abouts events

Open then try
Next Prev
Enter cover mode / Enter contain mode

Close