how to play videos in .avi file format in chrome?

后端 未结 2 773
傲寒
傲寒 2021-01-07 03:50

Technically It was possible to play .avi files by loading an embedded object for a external player directly in the HTML. Now chrome deprecated that capabitilities and the

2条回答
  •  生来不讨喜
    2021-01-07 04:39

    There are only a few file video formats which can be played in most browsers. Chrome probably does not want to support non-standard formats and thus pollute the Web with incompatible content.

    Here are the video formats supported by various browsers:

    +--------------------+----------------------+-------+-----+
    |      Browser       |         MP4          | WebM  | Ogg |
    +--------------------+----------------------+-------+-----+
    | Internet Explorer  | YES                  | NO    | NO  |
    | Chrome             | YES                  | YES   | YES |
    | Firefox            | YES                  | YES   | YES |
    | Safari             | YES                  | NO    | NO  |
    | Opera              | YES (from Opera 25)  | YES   | YES |
    +--------------------+----------------------+-------+-----+
    

提交回复
热议问题