Responsive Videos Made Easy – FitVids.JS
Few days ago, FitText, a jQuery plugin that auto-arranges the size of fonts according to the size of the element wrapping them -so they don't break-, was shared at WRD.
And now, it is FitVids.JS, again a jQuery plugin and a similar solution but, this time, for videos.
It automates the Intrinsic Ratio Method by Thierry Koblentz to achieve fluid width videos in your responsive web design.
Usage is simple, just call the fitVids
function by targeting a video and the element will be auto-wrapped with a <div>
and CSS for resizing it will be applied.
Currently, it is compatible with major services like Youtube, Vimeo, Blip.TV or Viddler.
Special Downloads:
Ajaxed Add-To-Basket Scenarios With jQuery And PHP
Free Admin Template For Web Applications
jQuery Dynamic Drag’n Drop
ScheduledTweets
Advertisements:
Professional XHTML Admin Template ($15 Discount With The Code: WRD.)
Psd to Xhtml
SSLmatic – Cheap SSL Certificates (from $19.99/year)