Я также добавил файл web.config, но он все еще не работает.
Так выглядит web.config
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".mp4" mimeType="video/mp4" />
</staticContent>
</system.webServer>
</configuration>
Это мой код для видео в теле рендеринга для реакции
<ReactPlayer
className="video-frame"
url="../images/video.mp4"
muted
playing={true}
autoPlay={true}
width='auto'
loop={true}/>