Responsive video embeds

matt

Member
You lot probably know about this already: http://fitvidsjs.com/

I though I'd share just in case though. I (well, a friend who knows how to do that kind of thing) implemented it in my site so I now have a fully responsive site which includes resizing the videos properly, it even automatically takes care of the different aspect ratios!
 
Not sure why you would need javascript to do this. I've relied on pure css before without any issues - that I know of at least heh.
 
Well from what I can see it changes the dimensions of the video depending on the size of your browser window. That would be helpful for sites who's users have both new and old technology to ensure a consistent viewing experience for all users. I can't imagine that too many sites are going to be in that position though.

Perhaps I'm missing something too?
 
Back
Top