I am developing a web application with which user can view files in the iPad (Safari browser). I am able to download and view .pdf, .doc,.ppt files. But i am unable to download and view MP4 and 3GP files. I have added correct mime type in the IIS. I am getting following error in Safari (iPad) “BYTE_RANGE_ERROR_MESSAGE”. I am using IIS 7.0 in Windows Server 2008.
Note:I am able to download all the files in PC using IE, Mozilla and Safari.
Sample code below will help you to stream mp4 video via asp.net handler.
Sample use of function under ProcessRequest method
Hope this code will help you.