Skip to content

Commit

Permalink
[MAINTENANCE] Use nested extension configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fschoelzel committed Aug 26, 2024
1 parent f617baa commit 83bf98d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Controller/MediaPlayerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ public function mainAction(): void
*/
protected function getVideoInfo(AbstractDocument $doc, int $pageNo): ?array
{
$videoFileGrps = GeneralUtility::trimExplode(',', $this->extConf['fileGrpVideo']);
$videoFileGrps = GeneralUtility::trimExplode(',', $this->extConf['files']['fileGrpVideo']);
$mainVideoFileGrp = $videoFileGrps[0] ?? '';

$thumbFileGroups = GeneralUtility::trimExplode(',', $this->extConf['fileGrpThumbs']);
$waveformFileGroups = GeneralUtility::trimExplode(',', $this->extConf['fileGrpWaveform']);
$thumbFileGroups = GeneralUtility::trimExplode(',', $this->extConf['files']['fileGrpThumbs']);
$waveformFileGroups = GeneralUtility::trimExplode(',', $this->extConf['files']['fileGrpWaveform']);

$initialMode = 'audio';

Expand Down

0 comments on commit 83bf98d

Please sign in to comment.