Allow USDZ mime in WordPress Media Library

Allow USDZ mime in WordPress Media Library is a plugin that simply permits loading and using USDZ 3D models in WordPress Media Library.

It makes this possible by adding USDZ extension in the array of MIME types and by returning correct data at the WordPress check for file type and extension.

Please beware that some web servers might require adding the MIME type in their configuration for this to work. For example Apache would make use of this config line:

AddType model/vnd.usdz+zip usdz

More details about this here.

This plugin doesn’t need any settings page and the install procedure is as easy as it can be: just download the ready-made zip archive from Github, go to Plugins -> Add New -> Upload and upload the downloaded zip, then activate it and go uploading your USDZ files in WordPress Media Library.

Otherwise check the code at the Github Gist.

Allow USDZ mime in WordPress Media Library

Leave a Reply