Edit in JSFiddle

<html> 
<body>

<video id="videoclick" width="400" height="300" controls autoplay>
<source src="https://pragmaticwebmedia.com/wp-content/uploads/2018/07/mov_bbb.mp4" type="video/mp4">
</video>

</body> 
</html>

<script type="text/javascript">
  document.getElementById("videoclick").onclick = function()
  {
   window.open("http://www.google.com");
  };
</script>