JSFiddle - React, Tailwind, and code Playground
HTML
<video id="myVideo" width="380" height="240" audio="muted" autoplay="true" src="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4" type="video/mp4"></video>
JavaScript
$("#myVideo").bind("click", function () {
var vid = $(this).get(0);
if (vid.paused) {
vid.play();
} else {
vid.pause();
}
});