[FEATURE] Add autoplay option for filetype audio and video 25/38625/9
authorFrans Saris <franssaris@gmail.com>
Fri, 10 Apr 2015 19:40:06 +0000 (21:40 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 13 Sep 2015 20:29:45 +0000 (22:29 +0200)
commit5e2cc8e9ffbf0af26b791cc06af64eb35244369d
tree21bd7e7e289619253022f25bee0912c150462418
parentd66fc5ff090eb79aa1e958d55c942a7eaf9d3cf5
[FEATURE] Add autoplay option for filetype audio and video

With the RenderingRegistry introduced with #61800 we have the option
to render audio and video tags. #66366 adds a ViewHelper so you
can use the Renderer classes in FE.
What is missing is a convenient way for the editors to enable
autoplay for a audio or video file attached to a Content Element.

This change adds a autoplay checkbox to sys_file_reference and
enhances the AudioTagRenderer and VideoTagRenderer to use this
value when set.

Releases: master
Resolves: #66371
Change-Id: I4c551c0e966af406859641e21833eb12586c55e5
Reviewed-on: http://review.typo3.org/38625
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Resource/Rendering/AudioTagRenderer.php
typo3/sysext/core/Classes/Resource/Rendering/VideoTagRenderer.php
typo3/sysext/core/Configuration/TCA/sys_file_reference.php
typo3/sysext/core/Documentation/Changelog/master/Feature-66371-IntroduceAutoplayOptionForVideoAndAudioFiles.rst [new file with mode: 0644]
typo3/sysext/core/ext_tables.sql
typo3/sysext/lang/locallang_tca.xlf