File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ you're creating a video platform and want to validate uploaded video files::
39
39
private File $videoFile;
40
40
}
41
41
42
- .. caution ::
42
+ .. warning ::
43
43
44
44
This constraint requires the ``ffprobe `` binary to be installed and accessible
45
45
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``
287
287
The message displayed if the width of the video is less than ``minWidth ``.
288
288
289
289
``multipleVideoStreamsMessage ``
290
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291
291
292
292
**type **: ``string `` **default **: ``The video contains multiple streams. Only one stream is allowed. ``
293
293
@@ -301,14 +301,14 @@ The message displayed if the video file contains multiple video streams.
301
301
The message displayed if ffprobe cannot detect the dimensions of the video.
302
302
303
303
``unsupportedCodecMessage ``
304
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
305
305
306
306
**type **: ``string `` **default **: ``Unsupported video codec "{{ codec }}". ``
307
307
308
308
The message displayed if the video uses a codec that is not in the ``allowedCodecs `` list.
309
309
310
310
``unsupportedContainerMessage ``
311
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
311
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
312
312
313
313
**type **: ``string `` **default **: ``Unsupported video container "{{ container }}". ``
314
314
You can’t perform that action at this time.
0 commit comments