Skip to content

Commit d1c0c50

Browse files
committed
Fixes
1 parent ede7838 commit d1c0c50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/constraints/Video.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ you're creating a video platform and want to validate uploaded video files::
3939
private File $videoFile;
4040
}
4141

42-
.. caution::
42+
.. warning::
4343

4444
This constraint requires the ``ffprobe`` binary to be installed and accessible
4545
on your system. The constraint uses ``ffprobe`` to extract video metadata.
@@ -287,7 +287,7 @@ The message displayed if the aspect ratio of the video is less than ``minRatio``
287287
The message displayed if the width of the video is less than ``minWidth``.
288288

289289
``multipleVideoStreamsMessage``
290-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291291

292292
**type**: ``string`` **default**: ``The video contains multiple streams. Only one stream is allowed.``
293293

@@ -301,14 +301,14 @@ The message displayed if the video file contains multiple video streams.
301301
The message displayed if ffprobe cannot detect the dimensions of the video.
302302

303303
``unsupportedCodecMessage``
304-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
305305

306306
**type**: ``string`` **default**: ``Unsupported video codec "{{ codec }}".``
307307

308308
The message displayed if the video uses a codec that is not in the ``allowedCodecs`` list.
309309

310310
``unsupportedContainerMessage``
311-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
311+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
312312

313313
**type**: ``string`` **default**: ``Unsupported video container "{{ container }}".``
314314

0 commit comments

Comments
 (0)