[BUGFIX] Add video/x-m4v to supported mime types of VideoTagRenderer 65/53465/2
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 11 Jul 2017 05:30:29 +0000 (07:30 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 13 Jul 2017 18:40:23 +0000 (20:40 +0200)
Some videos might use the mime type video-x-m4v. To render those, the
mime type must be added to the list of supported mime types of the
renderer.

Resolves: #81817
Releases: master, 8.7
Change-Id: I0420009fe5ca55698d2aeb4727dbf6a7df7c981e
Reviewed-on: https://review.typo3.org/53465
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Resource/Rendering/VideoTagRenderer.php

index 6247282..3786d7d 100644 (file)
@@ -27,7 +27,7 @@ class VideoTagRenderer implements FileRendererInterface
      *
      * @var array
      */
-    protected $possibleMimeTypes = ['video/mp4', 'video/webm', 'video/ogg', 'application/ogg'];
+    protected $possibleMimeTypes = ['video/mp4', 'video/webm', 'video/ogg', 'video/x-m4v', 'application/ogg'];
 
     /**
      * Returns the priority of the renderer