The ideal format in this regard would: It would be helpful for interoperability if all browsers could support the same codecs.
However, there are no known codecs that satisfy all the current players: we need a codec that is known to not require per-unit or per-distributor licensing, that is compatible with the open source development model, that is of sufficient quality as to be usable, and that is not an additional submarine patent risk for large companies.
In the announcement, Cisco cited its desire of furthering the use of the Web RTC project as the reason, since Web RTC's video chat feature will benefit from having a video format supported in all browsers.
so the code will practically be free software only in countries without H.264 software patents, which has already been true about other existing implementations.
Alternatively, the Java Script can Play Type() function can be used to achieve the same.
The "type" attribute specifies the MIME type and possibly a list of codecs, which helps the browser to determine whether it can decode the file.
HTML5 video is intended by its creators to become the new standard way to show video on the web, instead of the previous de facto standard of using the proprietary Adobe Flash plugin, though early adoption was hampered by lack of agreement as to which video coding formats and audio coding formats should be supported in web browsers.
The "controls" attribute enables the browser's own user interface for controlling playback.
At the end of 2017 the new AV1 format developed by the Alliance for Open Media (AOMedia) as the evolution of VP9 has reached the feature freeze, and the bitstream freeze is expected for January 2018.Google's acquisition of On2 in 2010 resulted in its acquisition of the VP8 video format.Google has provided a royalty-free license to use VP8. and MPEG LA, LLC announced agreements covering techniques that "may be essential" to VP8, with Google receiving a license from MPEG LA and 11 patent holders, and MPEG LA ending its efforts to form a VP8 patent pool.Apple has also opposed requiring Ogg format support in the HTML standard (even as a "should" requirement) on the grounds that some devices might support other formats much more easily, and that HTML has historically not required particular formats for anything.(using HTML5 with Java Script, but also a Flash-based DASH players for legacy Web browsers not supporting the HTML5 MSE).