Bug #80161
closed
Added by Inge Khodjasteh over 7 years ago.
Updated over 6 years ago.
Description
mp3 file is rendered as img, I'm using typo3 7.6.15
<div class="ce-textpic ce-right ce-intext">
<div class="ce-gallery" data-ce-columns="1" data-ce-images="1">
<div class="ce-row">
<div class="ce-column">
<div class="ce-media">
<img src="/fileadmin/radio-am-alex/mp3/nachrichten.mp3" width="0" height="0" alt="" />
...
Files
- Can't reproduce with 7.6.25 and news 6.3. Audio would not be checked (Filetype 3 / FAL Index) at Partilas/List/Item.html
- Filetype 5 is "Application" like which could render thumbnails from pdf or something else
- Status changed from New to Closed
I close this one as it is solved on both 7.6.25 and 8.7.10
This is my test procedure for 8.7.10:
1) create a "Text and Media" Content Element
2) upload an mp3 file
Result:¶
the mp3 player is present, the HTML code underneath is:
<figure class="audio"><div class="audio-embed"><audio controls="" class="audio-embed-item"><source src="fileadmin/Images/SampleAudio_0.4mb.mp3" type="audio/mpeg"></audio></div></figure>
If you think that this is the wrong decision or experience this issue again and have more information about how to reproduce it, please reopen it or open a new issue with a reference to this one. thank you.
I just fixed it in news with
<f:if condition="{mediaElement.originalResource.type} == 3">
<f:render partial="Detail/MediaVideo" arguments="{mediaElement: mediaElement, settings:settings}"/>
</f:if>
Also available in: Atom
PDF