Vestigial menu on sounds in Chrome

what’s interesting is that if you size your browser window just right, you can actually see that clicking on the menu button does bring up a menu with a single option to download:

i didn’t dig into the code deep enough to determine whether the menu was shifted accidentally or intentionally, but knowing that it’s there, would you rather:

  1. do nothing,
  2. try to (un)shift the menu so that it pops up in a typical spot, OR
  3. remove the menu (thereby removing the download option)?

it looks like Chrome / Chromium adds that download option to its audio control by default. since version 58 of Chrome, the control can be customized via a controlsList property on HTMLMediaElement (see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/controlsList). it seems fairly straightforward to remove the download option using this property, but i’m not familiar enough with the Observation page’s code and framework (Bootstrap + jQuery?) to tell you if that would cause any downstream problems.

here’s an example of what the audio control looks like with and without the download option (interactive: https://jumear.github.io/stirfry/iNat_Chrome_audio_control_example.html):

2 Likes