jQuery HD Aspect Ratio Tool

jquery-aspect-ratio-tool.jpg

A few months ago I developed a simple but effective little web page with some javascript and jQuery that would allow me to determine, based on a width, a 16:9 aspect ratio. I found myself always having a specific width from a content area and I wanted to determine the video size I could fit in there. Problem was, I didn't want to waste time calculating the all important aspect ratio from the width I had.

I searched the net and couldn't find anything useful, so I built one myself:

jQuery 16:9 Aspect Ratio Tool

This was just whipped together quickly and I found it useful. I’m pretty sure it could be tweaked, but it fits its purpose as is right now. Let me know if this helps you at all. enjoy.

This is a repost from my personal blog many years ago