1) Select the site to configure in IIS, right click and select "Properties"
2) Under HTTP Headers Tab, select "File Types" under the MIME Map section and select "New Type"
3) Type ".flv" as the associated extension and "video/x-flv" as the content type or "flv-application/octet-stream" I'm not sure on which one gives here.
4) for .mp4 files type ".mp4" as the extension and "video/mp4" as the mime type (this one I tested personally)
4) Select "OK",
5) type services.msc, find the "World Wide Web Publishing Service" and click on the restart icon on top or open up and choose restart
lovelxr
0 Points
1 Post
How to enable IIS to play MP4 files
Sep 15, 2009 08:05 AM|LINK
Hi everyone
i have *.mp4 files in IIS Web Server.
I use wmp to play *.avi ,*.mp4 files.
it works fine when plays *.avi files.but can play *.mp4.
i have set mime .mp4 video/mp4 in IIS.
once,i play a *.mp4 file,it only 1M size,it works fine also.
but when the file is big,it cant't work.why?
how i can play *.mp4 files in IIS.
thanks everyone!
vik20000in
All-Star
25882 Points
3993 Posts
MVP
Re: How to enable IIS to play MP4 files
Sep 15, 2009 08:39 AM|LINK
1) Select the site to configure in IIS, right click and select "Properties"
2) Under HTTP Headers Tab, select "File Types" under the MIME Map section and select "New Type"
3) Type ".flv" as the associated extension and "video/x-flv" as the content type or "flv-application/octet-stream" I'm not sure on which one gives here.
4) for .mp4 files type ".mp4" as the extension and "video/mp4" as the mime type (this one I tested personally)
4) Select "OK",
5) type services.msc, find the "World Wide Web Publishing Service" and click on the restart icon on top or open up and choose restart
www.vikramlakhotia.com
Please mark the answer if it helped you
qwe123kids
All-Star
48619 Points
7957 Posts
MVP
Re: How to enable IIS to play MP4 files
Sep 15, 2009 09:03 AM|LINK
Hi,
http://technet.microsoft.com/en-us/library/bb742440.aspx
http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-with-iis7-web-config.aspx
Chk the above link..
OR
for Streaming any Media file u Requie..
Embed tag in of Html
Avinash Tiwari
Remember to click “Mark as Answer” on the post, if it helps you.
xmen
Member
99 Points
207 Posts
Re: How to enable IIS to play MP4 files
Jan 08, 2010 09:07 AM|LINK
oops wrong topic ;)
C# Programmer
thkhanh
Member
2 Points
2 Posts
Re: How to enable IIS to play MP4 files
Mar 24, 2011 04:25 PM|LINK
That worked for me.. Thanks a lot!
ganeshkulpe
Member
2 Points
1 Post
Re: How to enable IIS to play MP4 files
Jan 27, 2012 11:00 AM|LINK
Thanks it is working fine
Ganesh