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="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4">
</video>

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 *