Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filetypes for audio no width and height #20

Open
EnzephaloN opened this issue Jan 26, 2016 · 0 comments
Open

filetypes for audio no width and height #20

EnzephaloN opened this issue Jan 26, 2016 · 0 comments

Comments

@EnzephaloN
Copy link

I tried to change width and height of audio-player. So I looked for the typoscript-setup, but didn't found anything. So I went to code and found, that in case of audiofiles there is no width- & height-configuration:

$parArray['src'] = 'src="' . $GLOBALS['TSFE']->absRefPrefix . $incFile . '"';
if (\TYPO3\CMS\Core\Utility\GeneralUtility::inList('au,wav,mp3', $fileinfo['fileext'])) {
}

instead of:

if (\TYPO3\CMS\Core\Utility\GeneralUtility::inList('avi,mov,mpg,asf,wmv', $fileinfo['fileext'])) {
$parArray['width'] = 'width="' . $width . '"';
$parArray['height'] = 'height="' . $height . '"';
}

I think it's important to have possibilities to change width and height!

best regards
Johannes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant