@@ -117,10 +117,18 @@ cannot be equal).
117117If set, the height of the video file must be less than or equal to this value
118118in pixels.
119119
120+ ``maxPixels ``
121+ ~~~~~~~~~~~~~
122+
123+ **type **: ``integer `` | ``float ``
124+
125+ If set, the total number of pixels (``width * height ``) of the video file must be less
126+ than or equal to this value.
127+
120128``maxRatio ``
121129~~~~~~~~~~~~
122130
123- **type **: ``float ``
131+ **type **: ``integer `` | `` float ``
124132
125133If set, the aspect ratio (``width / height ``) of the video file must be less
126134than or equal to this value. For example, a square video has a ratio of 1,
@@ -134,6 +142,14 @@ a 16:9 video has a ratio of 1.78, and a 4:3 video has a ratio of 1.33.
134142If set, the width of the video file must be less than or equal to this value
135143in pixels.
136144
145+ ``mimeTypes ``
146+ ~~~~~~~~~~~~~
147+
148+ **type **: ``array `` or ``string `` **default **: ``video/* ``
149+
150+ See the :ref: `File mimeTypes option <reference-constraints-file-mime-types >` for a
151+ description of this option and a list of common video MIME types.
152+
137153``minHeight ``
138154~~~~~~~~~~~~~
139155
@@ -145,23 +161,15 @@ value in pixels.
145161``minPixels ``
146162~~~~~~~~~~~~~
147163
148- **type **: ``float ``
164+ **type **: ``integer `` | `` float ``
149165
150166If set, the total number of pixels (``width * height ``) of the video file must be greater
151167than or equal to this value.
152168
153- ``maxPixels ``
154- ~~~~~~~~~~~~~
155-
156- **type **: ``float ``
157-
158- If set, the total number of pixels (``width * height ``) of the video file must be less
159- than or equal to this value.
160-
161169``minRatio ``
162170~~~~~~~~~~~~
163171
164- **type **: ``float ``
172+ **type **: ``integer `` | `` float ``
165173
166174If set, the aspect ratio (``width / height ``) of the video file must be greater
167175than or equal to this value.
@@ -174,14 +182,6 @@ than or equal to this value.
174182If set, the width of the video file must be greater than or equal to this value
175183in pixels.
176184
177- ``mimeTypes ``
178- ~~~~~~~~~~~~~
179-
180- **type **: ``array `` or ``string `` **default **: ``video/* ``
181-
182- See the :ref: `File mimeTypes option <reference-constraints-file-mime-types >` for a
183- description of this option and a list of common video MIME types.
184-
185185.. include :: /reference/constraints/_groups-option.rst.inc
186186
187187.. include :: /reference/constraints/_payload-option.rst.inc
0 commit comments