Add a free video download widget to your website with a simple iframe. No backend required.
Copy and paste this code into your HTML. The widget runs entirely inside the iframe ??your users paste a video URL and download directly.
<iframe src="https://allvideodownloader.co/embed/?ref=your_site" title="Video Downloader" width="100%" style="max-width:560px;height:360px;border:none;border-radius:12px;" loading="lazy" ></iframe>
| Parameter | Values | Description |
|---|---|---|
| url | Video URL | Pre-fill the input with a video link |
| theme | light, dark | Widget color theme (default: light) |
| ref | Your site name | Partner reference for analytics (optional) |
| brand | 0, 1 | Show "Powered by" footer (default: 1) |
<iframe src="https://allvideodownloader.co/embed/?url=https%3A%2F%2Fexample.com%2Fvideo&theme=dark&ref=my_blog" title="Video Downloader" width="100%" style="max-width:560px;height:360px;border:none;border-radius:12px;" loading="lazy" ></iframe>
Listen for events from the embed to auto-resize the iframe or track downloads.
window.addEventListener('message', function (event) {
if (!event.data || event.data.source !== 'allvideodownloader-embed') return;
var iframe = document.getElementById('avd-embed');
if (event.data.type === 'avd:resize' && iframe) {
iframe.style.height = event.data.height + 'px';
}
if (event.data.type === 'avd:success') {
console.log('Download ready:', event.data.downloadUrl);
}
});
| Event | Payload |
|---|---|
| avd:ready | ref, theme |
| avd:resize | height |
| avd:processing | url |
| avd:success | url, downloadUrl |
| avd:download | downloadUrl |
| avd:error | code, message, url |