It’s because my dataset had no video. I’ve just filled the dataset with some dummy video file and the error has disappeared. using the getCurrentItemIndex even when I click the next item button it says currentitemIndex is still “0” in the console even though I can see on the website that I’ve gone to item index 2,3. It’s like the console log doesn’t update when I click the ‘next item’ button on the website. It just says stuck on zero.