#85114modestbranding in YouTube
Description
Hello.
Our customer needs to set the modestbranding attribute for YouTube videos. This attribute is not supported by YouTubeRenderer.php. So i add this code:
if (isset($options['relatedVideos'])) {
$urlParams[] = 'rel=' . (int)(bool)$options['relatedVideos'];
}
/*ADD*/
if (isset($options['modestbranding'])) {
$urlParams[] = 'modestbranding=' . (int)(bool)$options['modestbranding'];
}
/*ADD [END]*/
if (!isset($options['enablejsapi']) || !empty($options['enablejsapi'])) {
$urlParams[] = 'enablejsapi=1&origin=' . rawurlencode(GeneralUtility::getIndpEnv('TYPO3_REQUEST_HOST'));
}
Is ist possible to integrate this in the core?