HTML Video Gallery widget

Create your Video Gallery widget
Why People Love Elfsight
A custom HTML website gives you full control over your pages, but building a polished video gallery from scratch can take considerable time. Elfsight Video Gallery gives you a ready-made way to turn tutorials, product videos, customer stories, portfolio pieces, social clips, and other content into an engaging video section.
Add videos by link from YouTube, Instagram, TikTok, Vimeo, Twitch, or a custom source and manage everything from the Elfsight editor. Pin important videos, organize larger collections with filters and sorting, and enable the mini-player to keep viewers watching as they explore the page. You can also decide what happens after playback and use an end card to lead visitors toward relevant content or offers.
Once your gallery is ready, simply copy the generated embed code and place it in your website’s HTML – there’s no need to build the gallery logic or styling yourself.
Did you know?
According to Wyzowl’s 2026 research, 82% of video marketers say video has helped keep visitors on their websites longer.
Add a richer video experience to your website without developing it from the ground up – create your HTML video player with Elfsight for free.
Key Features of the HTML Video Gallery
Here’s what makes the Video widget a flexible option for HTML websites:
- Multiple video sources: Display videos from YouTube, Instagram, TikTok, Vimeo, Twitch, and Custom Source together in one gallery.
- Ready-made presentation: Add a polished video section to landing pages, portfolios, business websites, resource hubs, and other custom pages.
- Pinned videos: Keep featured tutorials, projects, campaigns, or other priority content at the beginning of your gallery.
- Filters and sorting: Make larger video collections easier to navigate and help visitors discover relevant content faster.
- Mini-player: Keep the current video visible while users continue exploring the page.
- Flexible video behavior: Replay a video, start the next one, display an end card, or show an end card before continuing to the next video.
- Responsive layout: Give visitors a comfortable viewing experience across desktop, tablet, and mobile.
Try all features in the free editor – no signup required.
How to Embed a Video in HTML
You can create and add your videos into an HTML website in a few quick steps, no coding needed:
- Choose a Template: Open the Elfsight editor and select a template that works for your website and content.
- Add Your Videos: Paste links from YouTube, Instagram, TikTok, Vimeo, Twitch, or use Custom Source to create your gallery.
- Customize the Widget: Choose the layout, adjust the appearance, set up filters and sorting, enable the mini-player if needed, and configure the behavior after playback.
- Copy the Embed Code: Click “Add to website for free” and copy the installation code generated by Elfsight.
- Paste It Into Your HTML: Open the HTML file for the page where you want the gallery, paste the Elfsight code into the
<body>at the required position, save your changes, and publish the updated page.
Need help with installation? Visit the Elfsight Help Center for detailed setup instructions, explore our tutorials, share feature requests through the Wishlist, or follow the latest Video Gallery updates in the Changelog.
Can I add videos to any HTML website?
Where should I paste the video player HTML code?
of your HTML document, in the location where you want the Video Gallery to appear.
For example, you can place it between existing sections of your page, inside a content container, or in a dedicated area created for your videos.