[FEATURE] Add MediaViewHelper 24/38624/11
authorFrans Saris <franssaris@gmail.com>
Fri, 10 Apr 2015 19:19:23 +0000 (21:19 +0200)
committerFrans Saris <franssaris@gmail.com>
Fri, 21 Aug 2015 14:49:35 +0000 (16:49 +0200)
commite47d66e0966313daecdba64d22e9e36a9844ec9c
tree7de0698bbeafe5e1bd2b4cdc230691fe03fbcfa5
parent9369d057abed850c11a08e520fbf126957dd4fa3
[FEATURE] Add MediaViewHelper

In order to comfortably render video, audio and all other file types
with a registered Renderer class (RenderingRegistry introduced with
#61800) in FE, we add a new ViewHelper.

The new MediaViewHelper first checks if there is a Renderer present for
the given file. If not, it will as fallback render a image tag.
This way it is a replacement for the ImageViewHelper in most cases.

Releases: master
Resolves: #66366
Change-Id: I4f92b5f1030238aacb544e45a35189f4e3d0732e
Reviewed-on: http://review.typo3.org/38624
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/core/Documentation/Changelog/master/Feature-66366-IntroducedMediaViewHelper.rst [new file with mode: 0644]
typo3/sysext/fluid/Classes/ViewHelpers/MediaViewHelper.php [new file with mode: 0644]