How to embed HTML5 video to work on all browsers?

how to embed html5 video

Embed an HTML5 video to work on all browsers including Chrome, Firefox, Opera, Safari, etc and all mobile browsers is easier than you expected.

Why I would say that?

I have face the same before and I found a solution that works well for all browsers including mobile browsers. It is not much complicated. It’s very easy to do so. Let’s dive into the code.

<video autoplay muted preload loop playsinline id="nerodevVideo">
	<source src="" type="video/mp4">

Hope this will helps you to embed your own HTML5 video easily to work accross all browsers.

Hope you enjoyed this tutorial. Happy learning ahead.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *