Jump to content

Featured Replies

Posted

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!

Solved by Marc

Go to solution
  • Community Expert

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.

 

  • Author

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;
}

 

  • Community Expert
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

  • 1 month later...
  • Community Expert
  • Solution

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.

Recently Browsing 0

  • No registered users viewing this page.