title: Adding a mousemove listener to the controls of a video element with Javascript
body: <p>basically I've got a basic video element</p>
  
  <pre><code>&lt;video width="320" height="240" controls&gt;
  &lt;source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4"&gt;
  Your browser does not support the video tag.
  &lt;/video&gt;
  </code></pre>
  
  <p>Is there a non-jQuery way to add a listener to the controls of a video element? the controls, as you know, will look like this on different browsers:</p>
  
  <p><a href="https://i.stack.imgur.com/AHAFC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AHAFC.png" alt="enter image description here"></a></p>
  
  <p>All I need is a function to run once a user hover over that.</p>
  
  <p>Edit: I also need a function that will run once a user moves out of the controls</p>