Preview
Generated Code
                                
                            

Html Video Generator

Html video generator is used to generate video tag online using w3codegenerator. You can generate a valid HTML5 code that can play videos on your website using the HTML5 Tag <video>. Html video generator have option to change their attribute and values.

Simply customize your video tag as per your requirement using customize section on left sidebar and embed video in html page, blog, website.

Video tag attributes

Main video tag attributes that are supported by video tag are controls, autoplay, loop, muted.

Video controls specifies that controls should be displayed in your browser (such as a play/pause button, sound icon, download option etc).

Video autoplay will automatically start playing.

Video loop will start over again and again, every time it is finished.

Video mute option specifies that audio output of the video should be muted.

The video element is used to embed video content in an HTML document without requiring any additional plugin like Flash player. Support for the video element varies accross browsers. At the moment, there are three main video formats that is supported for the video element: MP4, Ogg and WebM. This video generator is compatible with modern browsers like Firefox, Google Chrome, Safari, Internet Explorer, Opera.

File format supported by different browsers are listed below.

Browser Edge Chrome Firefox Safari Opera
WebM YES YES YES YES YES
Ogg YES YES YES NO YES
Mp4 YES YES YES YES YES