LaCollision Posted February 16, 2022 Posted February 16, 2022 Hi Invision, M4A files are the audio counterparts of MP4 files for video. They are HTML5 compatible and work natively in browsers. Also, in \IPS\File, you should add 'm4a' to: public static $safeFileExtensions public static $audioExtensions And in $fileIconMap : 'm4a' => 'file-audio-o', Thank you!
Marc Posted February 16, 2022 Posted February 16, 2022 Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.
LaCollision Posted February 16, 2022 Author Posted February 16, 2022 Hi Marc, Thank you! Oh, and I forgot, it also needs to be added in the ips.ui.uploader.js javascript: line 14: var iconMap: … 'm4a': 'file-audio-o', … line 915: if( [ 'mp3', 'ogg', 'wav', 'm4a' ].indexOf( file.name.substr( ( ~-file.name.lastIndexOf(".") >>> 0 ) + 2 ).toLowerCase() ) !== -1 ){ isAudio = true; } SeNioR- 1
Marc Posted February 16, 2022 Posted February 16, 2022 3 minutes ago, LaCollision said: Hi Marc, Thank you! Oh, and I forgot, it also needs to be added in the ips.ui.uploader.js javascript: line 14: var iconMap: … 'm4a': 'file-audio-o', … line 915: if( [ 'mp3', 'ogg', 'wav', 'm4a' ].indexOf( file.name.substr( ( ~-file.name.lastIndexOf(".") >>> 0 ) + 2 ).toLowerCase() ) !== -1 ){ isAudio = true; } Thats ok. Our devs will pick up anywhere else its needed LaCollision 1
Solution Marc Posted April 5, 2022 Solution Posted April 5, 2022 This issue has been resolved in 4.6.12, which has just been release. Please let us know if you still have any issues once you have upgraded to that release. SeNioR- and LaCollision 2
Recommended Posts