![]() ![]()
To add HTML5 compatible video to your site, you need to prerare video files in three formats: MP4, WebM, OGG, as different browsers support different video qualities. HTML5 video player is an ideal solution if your website audience comes from different devices. Now let’s explore the most popular ways of video embedding, their pros, cons and what websites they suit best of all. HTML5 video is played equally well on PC, smartphone, and tablet. One definite advantage of HTML5 over HTML4 is the cross-plarform support. EMBEDDING A VIDEO IN SCREENSTEPS CODEAll you need to put a video to your website is a video file in the required format and a simple web player code like this one: This new standard brought the possibility to embed videos without any middleware, just via tag in the web page markup. ![]() Happily, everything changed with the advent of HTML5 in 2015. ![]() This way video embed code looked like in HTML4 coding: or tags with the reference to some middleware (like Flash Player or RealPlayer) were required. There existed only one web standard known as HTML4 which didin’t allow webmasters to embed videos directly onto web pages. In 2011 it was a real problem for a non-technically minded person to put video on site. It’s not associated with any particular middleware and can be streamed in the majority of desktop and mobile browsers. EMBEDDING A VIDEO IN SCREENSTEPS MP4In this row, MP4 (H.264, AAC) seems to be the most common format for video streaming on the Internet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |