banthagroup / fslightbox

An easy to use vanilla JavaScript plug-in without production dependencies for displaying images, videos, or, through custom sources, anything you want in a clean overlying box.
MIT License
351 stars 30 forks source link

Adding youtube url start/end time #152

Open hiensarahly opened 3 years ago

hiensarahly commented 3 years ago

Hi, is there a way to add a YouTube url with start/end time into the lightbox?

https://www.youtube.com/embed/video-id?start=5&end=13

https://www.youtube.com/watch?v=video-id&t=5s

Thank you for this amazing tool