I have been updating a website from using script tags to an esbuild app bundle. It seems that lightGallery thinks video js is not included though (have npm installed both).
import videojs from 'video.js'
import lightGallery from 'lightgallery';
import lgThumbnail from 'lightgallery/plugins/thumbnail';
import lgVideo from 'lightgallery/plugins/video';
JS console error: lightGallery:- Make sure you have included videojs
It works fine if I include video.js in a script tag though.
I have been updating a website from using script tags to an esbuild app bundle. It seems that lightGallery thinks video js is not included though (have npm installed both).
JS console error:
lightGallery:- Make sure you have included videojs
It works fine if I include video.js in a script tag though.