Jump to content

determine aspect ratio based on height x width


bcamp1973

Recommended Posts

our CMS provides the height and width of the video being embedded on the page. my problem is that i need to calculate whether the video is widescreen (16x9) or standard (4x3). based on it's height and width which may not be standard sizes. The math for this is a bit above my head?  Anyone have any hints?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.