HTML

<video autoplay loop muted playsinline width="320" height="240">
    <source src="dog.mp4" type="video/mp4">
</video>