"invalid file" error message when uploading videos in ckfinder
<p>I want to allow users to upload videos (<code>mp4</code> , <code>webm</code> and <code>ogv</code> formats) via <strong>ckfinder</strong> to a directory named <code>video</code>. I added following options to <strong>ckFinder/config.php</strong> file: </p>

<pre><code>$config['ResourceType'][] = Array(
        'name' =&gt; 'Video',
        'url' =&gt; $baseUrl . 'video',
        'directory' =&gt; $baseDir . 'video',
        'maxSize' =&gt; "64M",
        'allowedExtensions' =&gt; 'mp4,webm,ogv',
        'deniedExtensions' =&gt; '');
</code></pre>

<p>When I'm trying to upload a video in allowed format a simple <strong>invalid file</strong> error message is shown with no other details.</p>

<p>I'm sure that format and size of the uploaded files is valid.</p>

<p>How can I find where is the problem?</p>

<p><strong>Update :</strong><br>
According to @zaak comment, I just had to increase <code>post_max_size</code> option in php.ini.</p>