Get the thumbnail from the Lighbox video.

How to Use the Script:

  1. Copy the script and paste it just before the closing </body> tag. <script async src="https://cdn.jsdelivr.net/gh/jeminids/webflow-codes@lightbox-thumbnail_v1.0/lightbox-thumbnail.min.js"></script>
  2. The script will automatically find a Lightbox element and replace the first image inside it with the video thumbnail.
  3. If you want to specify the image for the thumbnail, add data-lightbox=image.
  4. It's done 🎉