Media directory MIME types in web.config out of the box

Topics: Core
Oct 18, 2012 at 12:02 AM

This has been added to the Issue Tracker here.

Okay, so I guess this one should be put up for discussion. All that I propose is for the web.config file in the /Media directory to come configured with common HTML5 MIME types out of the box.

Here is the configuration lines in question.

My reasoning for this is that I believe adding support for these files types is inline with Orchard's emphasis on HTML5 semantics. You should be able to embed HTML5 video from within the /Media directory without additional configuration.

What do you think?

Jan 4, 2013 at 6:23 PM

Makes sense to me. Anyone having any concerns with this?