Issue Bug Closed

#81817Video Mime Type is missing

Alexander Henz 07/07/17, 09:51 updated 10/02/18, 10:58

Description

I recently uploaded a mp4 file, which was not rendered correctly. Instead of using the

I checked the MIME type of the mp4 it was ‘video/x-m4v’.

In typo3\sysext\core\Classes\Resource\Rendering\VideoTagRenderer.php this MIME type is missing:

protected $possibleMimeTypes = ['video/mp4', 'video/webm', 'video/ogg', 'application/ogg'];

I changed it into

protected $possibleMimeTypes = ['video/mp4', 'video/webm', 'video/ogg', 'application/ogg', 'video/x-m4v'];

Now it works fine.

Reviews 2