Open jsnow1390 opened 4 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'll just reopen it if it goes stale. Maybe eventually it'll get looked at
I'm getting the same problem with mp4
Description
When rendering html5 videos from lightGallery from something hosted the gallery for that item ends up being just a black screen for each item. Locally I've gotten one video to load but nothing in succession. Unsure if this problem is just for react or not.
Steps to reproduce
JS code that you use to initialize lightGallery.
Additional context
Locally I can get the first video to load but nothing else. When dubugging the code I'm noticing things failing in
getVideoHtml()
where it is looking forvar videoInfo = this.core.galleryItems[index].__slideVideoInfo || {};
Only one of them listed above is getting that __slideVideoInfo added to it. The others seem to be undefined? Additionally the index always seems to be 0 which doesn't seem right"lightgallery": "^2.7.2",
https://github.com/user-attachments/assets/8cb1578b-6bd3-4524-b6fb-8a3d1e27afe1