i




 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mp4 file is not playing after hosting in iis7..
04-25-2012, 02:48 PM
Post: #1
Not Solved Mp4 file is not playing after hosting in iis7..
hi..
after hosting my asp.net application in my remote server , mp4 format videos are not playing .
i have already set the mime type (.mp4 and video/mp4) in iis7.
but the video is not playing.


need ur suggestions with examples..

note: my site is https site.

regards
gopal.s


Quote
04-25-2012, 05:44 PM
Post: #2
Not Solved RE: Mp4 file is not playing after hosting in iis7..
hi Gopal, if mp4 are working fine on local but not on server, there are most likely two possibilities, either your host does not allow to play multimedia or your did not set the mime type properly

to set the mime type please follow the below steps

To correct this issue, you will need to add an MP4 MIME type to your server. Here’s how:

Right-click the site in IIS and select Properties.
Select the HTTP Headers Tab.
Select File Types.
Under the MIME Map section, select New Type.
Type “.mp4” as the associated extension and “video/mpeg” as the content type.
Click OK.

Your MP4 movies should now play when viewed from the server. If you use a hosting company to host your files, it is best to check with them about adding .MP4 as a supported MIME type.

[Image: 2604595733.png]
Quote


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Convert Excel File Sheet in to a pdf file in asp.net c# gopal_nivas 1 2,018 05-04-2014 07:15 AM
Last Post: hongdida
  iis configuration Hosting Website praveen 9 796 03-17-2014 07:49 AM
Last Post: praveen
  Host the MVC web api into iis7 gopal_nivas 0 433 06-11-2013 10:05 AM
Last Post: gopal_nivas
  displaying the media player while playing a music in a page trytaher 1 418 05-27-2013 12:14 PM
Last Post: magnum_2007
  Get MetaData information about a file during file uploading in asp.net gopal_nivas 2 810 05-07-2013 04:37 AM
Last Post: gopal_nivas



User(s) browsing this thread: 1 Guest(s)