Fixed Transcoded video uploads may fail because it does not override the extension

Chris D

XenForo developer
Staff member
Affected version
2.2
Error log generated too:

Code:
UnexpectedValueException: File extension 'mkv' is not valid for video
src/addons/XFMG/Attachment/Media.php:223
Generated by: Unknown account
Feb 14, 2022 at 10:54 AM
Stack trace
#0 src/addons/XFMG/Service/Media/Creator.php(256): XFMG\Attachment\Media->onAssociation(Object(XFMG\XF\Entity\Attachment), Object(XFMG\Entity\MediaItem))
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFMG release (2.2.5).

Change log:
Skip extension checking for media items that have been transcoded.
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom