Bug #73484
closedVimeoRenderer.php condition always true (autoplay in config)
100%
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
Updated by Daniel Gorges almost 9 years ago
- File videorenderer.diff videorenderer.diff added
This Problem is also in the YouTubeRenderer.php
Updated by Gerrit Code Review almost 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46712
Updated by Steffen Gebert almost 9 years ago
- Project changed from 1575 to TYPO3 Core
- TYPO3 Version set to 8
- Is Regression set to No
Updated by Gerrit Code Review almost 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46712
Updated by Gerrit Code Review over 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46712
Updated by Gerrit Code Review over 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46976
Updated by Benni Mack over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d3a449fff77cd442c8998986f68d903264a15bb0.