title: How to capture Chrome's native HTML 5 Video/Audio player's download control click?
body: <p>Does anyone happen to know how to capture the event and/or click event with JavaScript for the user actually choosing to download the media in Chrome's native HTML 5 media player?</p>
  
  <p>In newer versions of Chrome there is a native browser HTML 5 Audio/Video player control that allows the user to download the media (I know this applies to at least Version 55.0.2883.87). </p>
  
  <p>The answer for this could involve some kind of Shadow DOM trickery.</p>
  
  <pre><code>&lt;audio preload="none" controls="true" src="file.mp3"&gt;&lt;/audio&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/VWRIF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VWRIF.png" alt="Chrome HTML5 Media Player with Controls Enabled"></a></p>