FitVids.JS is a lightweight jQuery plugin that makes embedded videos from YouTube, Vimeo, and other services responsive and fit their containers. It solves the problem of fixed-width video embeds breaking responsive layouts by automatically calculating and applying the correct aspect ratio. The plugin wraps video iframes in a container and uses CSS to make them scale fluidly with the width of their parent element. FitVids works by detecting embedded videos, calculating their aspect ratio, and applying CSS that maintains that ratio as the container resizes. The plugin is simple to implement, typically requiring just a single line of JavaScript to target and convert all videos on a page. It's commonly used in responsive WordPress themes, blog posts, and any website where embedded videos need to adapt to different screen sizes. While modern CSS has aspect-ratio support, FitVids remains useful for broader browser compatibility.

Live sites
422.6k
Current snapshot
Market share
3.2%
Of tracked domains
Rank
#1
In Widgets
Adoption history
Monthly detection · 1Y
Jul 2026 · 276,830 sitesAug 2026 · 276,948 sitesSep 2026 · 277,057 sitesOct 2026 · 422,384 sitesNov 2026 · 422,638 sites422,638 0 Jul 2026Aug 2026Sep 2026Oct 2026Nov 2026

Series filtered to 5 data points · monthly snapshots since July 2026.

Counts follow the sites we crawl. Our crawl grew sharply in October 2026, so part of that month's rise reflects coverage, not adoption.