This is the second half from a previous submission:
What exactly has to be inputted for the MIME type field? Anything I try seems to get the red tape (.mp3, mp3). Also I don't know if it allows for m4v but I think that should be supported if it is not already.
Comments
Comment #1
ewlloyd commentedAt the moment, it only supports four file extensions, and only four MIME types. To quote the source code:
'mp3' => 'audio/mpeg',
'wmv' => 'video/x-ms-wmv',
'mov' => 'video/quicktime', //and
'mpg' => 'video/mpeg'
It was sufficient for my own needs, but it obviously needs work for prime time. At the moment, unless your file ends in one of the above extensions, you're SOL. As a stopgap, I'll add an administrative permission to allow ad-hoc MIME types, and later look at a more robust solution.
Comment #2
Anonymous (not verified) commentedWhat is the proper way to enter this information into the field?
I tried typing 'mp3' and '.mp3' and they both threw errors.
Is this another PHP5 Req?
txcrew
Comment #3
ewlloyd commentedFixed in 5.x-0.3-beta. Now MIME type checks can be relaxed in the administrative interface. This is a stopgap until some proper editing facility for MIME types is created.
Comment #4
ewlloyd commentedTo answer your question, txcrew, MIME types take the form of "type/subtype". See the IANA website for more information. I think your .m4v file would be "video/m4v" (at a guess). Be sure to go to Administration/Content/RSS Remote Enclosures and uncheck the 'Restrict to registered MIME types only' checkbox, so you'll be able to enter the type in the node.
Comment #5
(not verified) commented