How to embed HTML5 video to work on all browsers?
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.