FitVids.js is a lightweight jQuery plugin for making embedded videos scale fluidly inside responsive layouts. It automates the intrinsic-ratio technique so video players preserve their aspect ratio while adapting to the width of their container. The plugin wraps supported embeds in a responsive element and handles sizing through percentage-based CSS after initialization. Native support includes services such as YouTube and Vimeo, along with several older video platforms. Developers can add other providers through a custom selector when their markup is compatible. FitVids requires jQuery 1.7 or later and is designed to solve one focused responsive-design problem with minimal code. It became a widely used early solution for responsive video embeds before native aspect-ratio CSS became common.

Features

  • Responsive fluid-width video embeds
  • Automatic aspect-ratio preservation
  • YouTube and Vimeo support
  • Custom video provider selectors
  • Percentage-based responsive CSS output
  • Simple jQuery initialization

Project Samples

Project Activity

See All Activity >

Categories

Video

Follow FitVids.js

FitVids.js Web Site

Other Useful Business Software
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Access competitive interest rates on your digital assets.

Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of FitVids.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Video Software

Registered

2026-09-17