Last post Oct 04, 2018 07:14 AM by Brando ZWZ
Oct 04, 2018 03:57 AM|hardeshis|LINK
Not sure actually which forum to choose.
I have stored some images (.jpg) and videos (.mp4) on windows server 2008 R2.
When I access website say, http://wbsite public ip/newAudit/auditmultimedia/checklists/2785/0418e263-d722-4a30-999f-fd5c5ff54212.jpg crome shows me the image no problem.
But when I try to access video same way, http://wbsite public ip/newAudit/auditmultimedia/checklists/2785/test.mp4
It shows me message, 404 - File or Directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Images and videos are in same folder. I can access image but not video. I have give fill control to "Everyone" for these directories and files.
Actually I want to access this video in IOS app on iPad. But I can not play above video in IOS app but I can show image in that same app.
Oct 04, 2018 07:14 AM|Brando ZWZ|LINK
As far as I know, the Win Server 2008 doesn't included mp4 as mini type by default. So you should set it in web config or IIS.
I suggest you could add below config in the web.config.
<mimeMap fileExtension=".mp4" mimeType="video/mp4" />
Find the mini type and add the mp4.
The mp4 MIME settings are: File name extension: .mp4 MIME type: video/mp4