Tags: | Categories: ASP.Net, Administration, IIS, HTML5 Posted by Christoph on 3/30/2012 12:22 PM | Comments (0)
Wenn man die HTML 5 MIME Types per web.config definieren will geht das ganz einfach so: <?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <staticContent> <!-- HTML 5 Video Mime Types--> <mimeMap mimeType="video/ogg" fileExtension=".ogm" /> <mimeMap mimeType="video/ogg" fileExtension=".ogv" /> <mimeMap mimeType="video/ogg" fileExtension=".ogg" /> <mimeMap mimeType="video/webm" fileExtension=".webm" /> <mimeMap mimeType="audio/webm" fileExtension=".weba" /> <mimeMap mimeType="video/mp4" fileExtension=".mp4" /> <mimeMap mimeType="video/x-m4v" fileExtension=".m4v" /> </staticContent> </system.webServer> </configuration>