Home > Forums > ASP.NET Video & Audio Encoding > Mp4 Video Not Streaming Via Asp.net Application
 
November 6, 2011 0:26 AM #1
mediasoftpro

Posts: 150
Points: 1,300
Joined: November, 2011

mp4 video not streaming via asp.net application.

If you face problem while streaming mp4 video using asp.net application.

Like receiving error message on player

video not found or access denied

You need to add mp4 mimetype support in web.config file

i: open web.config file
ii: under element add the following line of code.




This will allow streaming mp4 videos properly on asp.net websites.

Note: this error only arise in IIS 7.0 or later webservers.
November 6, 2011 0:8 AM #2
mediasoftpro

Posts: 150
Points: 1,300
Joined: November, 2011
code missed up in above post,

here is code



November 6, 2011 0:41 AM #3
mediasoftpro

Posts: 150
Points: 1,300
Joined: November, 2011
<staticContent>
<mimeMap fileExtension=".mp4" mimeType="video/mp4" />
</staticContent>
May 3, 2012 7:33 PM #4
keiooz

Posts: 20
Points: 100
Joined: May, 2012
I just used this script the other day. Thanks for sharing this one.


© 2007 - 2012, mediasoftpro.com  | Site Map | Privacy Policy | Terms of Use