How to tell the browser to open an AVI file with VLC or similar in HTML?

So, I have a list of avi files on a web page (for my purposes!), And I was wondering what I need to put in html code to tell the browser to open VLC? or mplayer or simliar?

+3
source share
3 answers

You must ensure that your web server is serving the avi files with the appropriate HTTP header Content-Type.

Content-Type: video/x-msvideo

- mime type link .

, , Content-Type, . , . Windows Media Player ( ). Mac - (, VLC, , , , Quicktime, Flip4Mac). mime, .

+4

" ", /, (- ..), html, .

, , MIME http, , , .

+4

. , Mime (. Asaph), , , - .

. , , AVI.

+1
source

Source: https://habr.com/ru/post/1721017/


All Articles