Closed fodor95 closed 1 year ago
Hey @fodor95,
thumb
should be outside the video
object
dynamicEl: [
// html5 video
{
video:{
source: [
{
src: 'http://fp1.local/wp-content/video/1678165117-small.mp4',
type: 'video/mp4',
},
],
attributes: { preload: false, controls: true },
},
thumb: 'http://fp1.local/wp-content/uploads/classified-listing/2023/03/pexels-zinpix-1899567-scaled.jpg',
},
// * html5 video
Hello @sachinchoolur, Thank you for your help, I just tried it out and It works perfectly.
Description
Video thumbnail is not fetched when attaching a video to an inline gallery. The video is playing normally. It could be that I am doing something wrong. Many thanks in advance, Tibi
Steps to reproduce
JS code that you use to initialize lightGallery.
Sample HTML markup
Environment