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.
Powered By WizardRSS.com | Full Text RSS Feed | Amazon Plugin | Settlement Statement | WordPress Tutorials