Apacheの場合「httpd.conf」または「.htaccess」にAddTypeを使用して記述します。 AddType application/vnd.apple.mpegurl .m3u8 AddType video/mp2t .ts nginxの場合mime.typesファイルにMIME Typeを指定します。 (mime.typesファイルはnginx.confファイルにincludeでパス指定されています) types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; ・・・ } ブラウザによる再生HTML5の<video>タグを使用した方法を紹介します。 以下のようなHTMLページを作成します。 srcにはインデックスファイルを指定します。 サンプルコード<!DOCTYPE html> <html> <head> <t
![YAZエンジニアが運営するメディア Blilliant Engineer](https://cdn-ak-scissors.b.st-hatena.com/image/square/58ba8922bec5a120cb69fc57c0ce737cc60d0849/height=288;version=1;width=512/https%3A%2F%2Fwww.yaz.co.jp%2Ftec-blog%2Fwp%2Fwp-content%2Fuploads%2F2016%2F09%2Fogp.png)