I want my button in code below to have click event but not parent div.
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<div id="myVideo">
<video controls="" autoplay="" name="media">
<source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
</video>
<button id="myButton">Play Video</button>
</div>
</body>
</html>
I tried using css pointer events but if parent has it then child button is not working.