Actions
Bug #73484
closedVimeoRenderer.php condition always true (autoplay in config)
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-02-16
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The Vimeorenderer checks if
if ($autoplay !== null) { $options['autoplay'] = $autoplay; }
But in $autoplay there is always a value. That´s why an autoplay function cannot be set via fluid, as shown in the example (<f:media file="{file}" width="400" height="375" additionalConfig="{autoplay: '1'}" />).
Solution:
if (!empty($autoplay)) { $options['autoplay'] = $autoplay; }
Files
Actions