@@ -121,10 +121,18 @@ cannot be equal).
121121If set, the height of the video file must be less than or equal to this value
122122in pixels.
123123
124+ ``maxPixels ``
125+ ~~~~~~~~~~~~~
126+
127+ **type **: ``integer `` | ``float ``
128+
129+ If set, the total number of pixels (``width * height ``) of the video file must be less
130+ than or equal to this value.
131+
124132``maxRatio ``
125133~~~~~~~~~~~~
126134
127- **type **: ``float ``
135+ **type **: ``integer `` | `` float ``
128136
129137If set, the aspect ratio (``width / height ``) of the video file must be less
130138than or equal to this value. For example, a square video has a ratio of 1,
@@ -138,6 +146,14 @@ a 16:9 video has a ratio of 1.78, and a 4:3 video has a ratio of 1.33.
138146If set, the width of the video file must be less than or equal to this value
139147in pixels.
140148
149+ ``mimeTypes ``
150+ ~~~~~~~~~~~~~
151+
152+ **type **: ``array `` or ``string `` **default **: ``video/* ``
153+
154+ See the :ref: `File mimeTypes option <reference-constraints-file-mime-types >` for a
155+ description of this option and a list of common video MIME types.
156+
141157``minHeight ``
142158~~~~~~~~~~~~~
143159
@@ -149,23 +165,15 @@ value in pixels.
149165``minPixels ``
150166~~~~~~~~~~~~~
151167
152- **type **: ``float ``
168+ **type **: ``integer `` | `` float ``
153169
154170If set, the total number of pixels (``width * height ``) of the video file must be greater
155171than or equal to this value.
156172
157- ``maxPixels ``
158- ~~~~~~~~~~~~~
159-
160- **type **: ``float ``
161-
162- If set, the total number of pixels (``width * height ``) of the video file must be less
163- than or equal to this value.
164-
165173``minRatio ``
166174~~~~~~~~~~~~
167175
168- **type **: ``float ``
176+ **type **: ``integer `` | `` float ``
169177
170178If set, the aspect ratio (``width / height ``) of the video file must be greater
171179than or equal to this value.
@@ -178,14 +186,6 @@ than or equal to this value.
178186If set, the width of the video file must be greater than or equal to this value
179187in pixels.
180188
181- ``mimeTypes ``
182- ~~~~~~~~~~~~~
183-
184- **type **: ``array `` or ``string `` **default **: ``video/* ``
185-
186- See the :ref: `File mimeTypes option <reference-constraints-file-mime-types >` for a
187- description of this option and a list of common video MIME types.
188-
189189.. include :: /reference/constraints/_groups-option.rst.inc
190190
191191.. include :: /reference/constraints/_payload-option.rst.inc
0 commit comments