I was trying to make a button that would toggle the dimensions for video on and off and I found that it wasn't capable of being done until you downloaded a script that Leo put together a while back (Forum page). It had several different options contained within the script, and one was for video dimensions - exactly what I needed. Using that option in the button that I made, it creates a column with the requested video dimensions, but that column does not organize the dimensions properly. I tried to organize it largest to smallest dimensions, and it's incapable of doing it. I actually don't understand how it organizes the dimensions, it didn't make any sense to me. Also, I can make two separate columns, one with the script data, and one with the built in dimensions from the video category within columns. I thought that was odd as well. Is there a way that I could fix this or rectify this problem?
Video_Frame_Columns_fixed.js.txt (6.5 KB)
If anyone's interested, I managed to correct what the error was within the script that I referenced above. I fed it to a well known AI agent and it was able to locate where the parameters that it used to sort the values for dimensions in videos and they were kind of errant and not optimal. So I corrected it and this is the uploaded fix of the script if anyone would like it. The only thing I changed was the script version to 2.1 and the sorting value for video dimensions to be simply height times width. It had another value in there that was obviously what the problem was but this is working now. if anyone is interested you can use this
It's meant to sort by width and then (if widths are equal) height, similar to the built-in Dimensions column (which should work for most video types these days, FWIW).
Your change makes it sort by total number of pixels, which is also valid. Depends what you want sorting by Dimensions to mean.