{"id":323,"date":"2011-11-21T00:07:58","date_gmt":"2011-11-21T00:07:58","guid":{"rendered":"http:\/\/www.webputzer.com\/?p=323"},"modified":"2012-02-09T00:51:43","modified_gmt":"2012-02-09T00:51:43","slug":"adding-a-mime-type-for-instance-flv","status":"publish","type":"post","link":"http:\/\/www.webputzer.com\/?p=323","title":{"rendered":"Adding a MIME type &#8211; for instance, .flv"},"content":{"rendered":"<p><strong>UPDATE:<\/strong> To add a mime-type, server-wide, right-click on the server \u00a0in the IIS Manager and go to Properties &gt; Mime Types (a button).\u00a0\u00a0 If you add them on a per-site basis you right-click on the site, choose Properties &gt; HTTP Headers (a tab) and you&#8217;ll see the MIME TYPES button.\u00a0 The point is: they can be added server-wide, or, on individual sites.\u00a0\u00a0 Also, I think that I had to add a mime type for ping images &#8211; and I added one for mp4 video that worked&#8230;like so:<br \/>\n.mp4 video\/mpeg<br \/>\n.png image\/png<\/p>\n<hr \/>\n<p>This shouldn&#8217;t really be a post &#8211; it&#8217;s so simple &#8211; but for one reason or another I keep forgetting where the hell this GUI\/button thing resides&#8230;. I&#8217;m still fumbling &#8211; oddly, I suppose &#8211; with the simplistic, point-and-click nature of a Windows server! By the way, here&#8217;s the code which worked for me to get .flv files to play:<\/p>\n<p>flv-application\/octet-stream<\/p>\n<p>And here&#8217;s the damned thing I can never recall&#8230;. Open the IIS Manager and right click on your web site. Choose <strong>Properties &gt; HTTP Headers (the tab) &gt; MIME TYPES <\/strong>(a box near the bottom). A box will pop up and you enter the extension (eg. flv) and the sort of code I&#8217;ve mentioned above. Here&#8217;s a pic:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.webputzer.com\/wp-content\/uploads\/2011\/11\/mime.png\" alt=\"MIME types\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE: To add a mime-type, server-wide, right-click on the server \u00a0in the IIS Manager and go to Properties &gt; Mime Types (a button).\u00a0\u00a0 If you add them on a per-site basis you right-click on the site, choose Properties &gt; HTTP Headers (a tab) and you&#8217;ll see the MIME TYPES button.\u00a0 The point is: they can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"h5ap_radio_sources":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-323","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts\/323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=323"}],"version-history":[{"count":0,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts\/323\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=323"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}