An unofficial, read-only Hacker News reader. Join the beta →

Button Sounds – collection of professionally-recorded button clicks and presses (opens external site)

904 points by gaurang_tandon 3 days ago | buttons.joshwcomeau.com | 136 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. > I've taken to putting a button on any page I make that uses audio with the label "Click here to unmute". Have it play a silent audio clip when it's pressed. After that, audio works.

    So anyone who wants to defy the reason for this limitation simply needs to lead the visitor to click something that doesn't reload the page? Instead of "unmute," maybe a throbbing "next" arrow or any innocuous link such as a menu item...

    I wonder if some set of navigation-like things, such as doing a history.pushState() to change the address bar, cancels what this trick would otherwise achieve.

    Replies (1)
    1. Yeah more or less. I’ve seen people put a big invisible button over the whole page that plays a silent audio clip when pressed, so any touch interaction enabled audio. Last I checked it worked fine.