Skip to content

Commit ede7838

Browse files
committed
Fixes
1 parent 2f8ae84 commit ede7838

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

reference/constraints/File.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ Parameter Description
237237
``{{ suffix }}`` Suffix for the used file size unit (see above)
238238
================ =============================================================
239239

240+
.. _reference-constraints-file-mime-types:
241+
240242
``mimeTypes``
241243
~~~~~~~~~~~~~
242244

reference/constraints/Video.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ in pixels.
183183

184184
**type**: ``array`` or ``string`` **default**: ``video/*``
185185

186-
See the :ref:`File mimeTypes option <reference-constraint-file-mime-types>` for a
186+
See the :ref:`File mimeTypes option <reference-constraints-file-mime-types>` for a
187187
description of this option and a list of common video MIME types.
188188

189189
.. include:: /reference/constraints/_groups-option.rst.inc
@@ -255,7 +255,8 @@ The message displayed if the width of the video exceeds ``maxWidth``.
255255

256256
**type**: ``string`` **default**: ``This file is not a valid video.``
257257

258-
See the :ref:`File mimeTypesMessage option <reference-constraint-file-mime-types-message>`.
258+
The message displayed if the media type of the video is not a valid media type
259+
per the ``mimeTypes`` option.
259260

260261
``minHeightMessage``
261262
~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)