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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Start Free
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