0
votes

I published my website on azure (A Web API) which contains a video file. The problem is I can access to the image file, but I cannot to the .mp4 file and get the following error:

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

enter image description here

1

1 Answers

2
votes

You must update the web.config by adding the .mp4 mimetype to solve the issue:

<system.webServer>
    <staticContent>
        <mimeMap fileExtension=".mp4" mimeType="application/octet-stream" />
    </staticContent>
</system.webServer>