Feature request: Ability to make a gallery mixing videos images and iframes...
A very nice feature will be the ability to make a gallery mixing various media type (videos, images, pdf and iframes) like Google drive
Something like:
var items= [];
items.push({
vidSrc: 'https://yourvideo.mp4',
caption: 'video caption'
});
items.push({
ytSrc: 'z_PeaHVcohg',
});
items.push({
vimeoSrc: '119287310',
});
items.push({
iframeSrc: 'https://youriframe/my-file.pdf',
});
items.push({
audio: 'https://youraudio.mp3',
caption: 'audio caption'
});
items.push({
imgSrc: 'https://yourimage.jpg',
caption: 'image caption'
})
BigPicture({
el: e.target,
gallery: items,
// optionally specify a starting index
position: 2,
})
That would be great, if that were possible.
Any plans of incorporating this?
No plans to incorporate this in the near future.
But if you're interested, I'm working on a more feature-rich alternative to this library which does allow you to mix media types in a gallery. Also has zooming, responsive images, html modals, better accessibility options, etc. And if you use Svelte, it's an even smaller hit to your bundle size.
Maybe a couple weeks from v1. Need to get some feedback and test on more devices.
https://biggerpicture.henrygd.me/
https://github.com/henrygd/bigger-picture
https://user-images.githubusercontent.com/8519632/155907562-a8849399-51e4-4363-b377-b07b0fd12b82.mp4
Looks really nice - I will keep an eye out for v1.