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

Chris D

XenForo developer
Staff member
Affected version
Error log generated too:

UnexpectedValueException: File extension 'mkv' is not valid for video
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.
Top Bottom