Actions
Bug #82044
closedYouTubeRenderer ignores "controls" option
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2017-08-04
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi,
I noticed that TYPO3\CMS\Core\Resource\Rendering\YouTubeRenderer
almost completely ignores value of "controls" option:
if (!isset($options['controls']) || !empty($options['controls'])) { $urlParams[] = 'controls=2'; }
With $options['controls'] = '0'
or similar empty value, the controls attribute is not added to embed URL, but then YouTube defaults to controls=1
, what is most likely not what you want. See: https://developers.google.com/youtube/player_parameters?hl=en#controls
I have noticed this in TYPO3 7, but patch is based on trunk.
Files
Actions