2015년 3월 5일 목요일

html5의

정상적으로 동작하는 경우도 있고, 그렇지 않은 경우도 있어서 검색해 보니 웹서버의 MIME 등록여부에 따라서 문제가 되네요.
아래와 같이 web.config에 파일 확장자를 등록해주면 텍스트가 아닌 비디오 파일로 인식하네요.

<configuration>

    <system.web>
      <compilation debug="false" targetFramework="4.5" />
      <httpRuntime targetFramework="4.5" />
    </system.web>
    <system.webServer>
      <staticContent>
        <mimeMap fileExtension=".mp4" mimeType="video/mp4"/>
        <mimeMap fileExtension=".m4v" mimeType="video/m4v"/>
        <mimeMap fileExtension=".ogg" mimeType="video/ogg"/>
        <mimeMap fileExtension=".ogv" mimeType="video/ogg"/>
        <mimeMap fileExtension=".webm" mimeType="video/webm"/>
      </staticContent>
    </system.webServer>
</configuration>

댓글 없음:

댓글 쓰기

참고: 블로그의 회원만 댓글을 작성할 수 있습니다.

미국에서 만들고 있는 데이터 센터들 - AI시장이 얼마나 커질까?

 말도 안되는 규모로 테슬라, 메타, OpenAI의 스타게이트 연합군에서 짓고 있는 데이터 센터들입니다.  1기가와트, 2기가와트, 5기가와트 ㅎㅎ  앞으로 세상이 정말 더 많이 변할 것 같습니다. 저는 하드웨어를 직접 다루지 않기 때문에 IDC센터를...