I know it would ruin the joke, but there should be some notice to turn up your volume. My speakers were muted, so I didn't realize I was missing anything until I saw the HN comments.
Definitely made me chuckle once I got the full experience.
It would be nice if there was a way to check the system audio volume via the web audio API. Then you could display a notice only if the volume is too low or too high. Alas, no such functionality currently exists without browser plugins.
I don't know why there's so much empty space at the bottom but I did notice my phone allowed me to continue playing the song if I dragged up from the bottom. It's four full minutes of sweet, relaxing elevator music.
> This document extends the Web platform with the ability to direct audio output to non-default devices, when authorization is given. Authorization is necessary because playing audio out of a non-default device may be unexpected behavior to the user, and may cause a nuisance. For example, suppose a user is in a library or other quiet public place where she is using a laptop with system audio directed to a USB headset. Her expectation is that the laptop’s audio is private and she will not disturb others. If any Web application can direct audio output through arbitrary output devices, a mischievous website may play loud audio out of the laptop’s external speakers without the user’s consent.
> To prevent these kinds of nuisance scenarios, the user agent must acquire the user’s consent to access non-default audio output devices. This would prevent the library example outlined earlier, because the application would not be authorized to play out audio from the system speakers.
> The default audio output device is always authorized.
My thought exactly when the music started playing. But I think this could better be implemented in the browser/ via an extension. You can't trust users to follow a convention all the time.
In some browsers (e.g. Chrome), clicking the elevator and leaving the tab to make it inactive would play the tune indefinitely (the chime plays only when the tab is activated again). If you enjoyed the tune, well, you've got something to do now.
This is the reason I'm not using AdBlock etc. The risk of ruining legit sites is too big and the problem is you seldom realise it was actually dysfunctional due to AdBlock.
Lol. Can't there be buttons 1..18 for the different levels, and if multiples are picked, sound on each one, doors opening (short time to read the paragraph), then another comes.
That was hilarious. I have hacked something like this a while ago (autoscrilling from bottom to top), but without the elevator-references, and the music...
Hm, I must have gotten a js error because I didn't see an elevator button, and until I checked HN comments, I had assumed this was a social experiment/joke to see how far people scroll to find nothing. I tried it couple times, too..
This was a lot of fun. I don't care that it isn't hyper-practical, or a jQuery plugin may or may not exist. We aren't that serious about ourselves, are we?
While I dislike websites playing sudden sounds as much as the next guy, it should serve as a reminder to keep your computer muted at all times or have a pair of headphones plugged in when you share office space.
If I ever go postal in the open plan office here, then it's going to be over random noise (skype sounds being the worst culprit) escaping someone's unmuted laptop.
I don't see why you would create a javascript lib for such a simple task, perhaps a jQuery plugin would have been sufficient. Oh wait, it already exists. Perhaps you were just bored?
guptaneil|11 years ago
Definitely made me chuckle once I got the full experience.
kkl|11 years ago
CoryG89|11 years ago
nkozyra|11 years ago
Kiro|11 years ago
benatkin|11 years ago
fredfoobar42|11 years ago
tylermac1|11 years ago
chrissnell|11 years ago
https://www.youtube.com/watch?v=UJkxFhFRFDA
joemaller1|11 years ago
gobbert|11 years ago
tjcelaya|11 years ago
n8m|11 years ago
nodejsisbest|11 years ago
arvinsim|11 years ago
hardmath123|11 years ago
> To prevent these kinds of nuisance scenarios, the user agent must acquire the user’s consent to access non-default audio output devices. This would prevent the library example outlined earlier, because the application would not be authorized to play out audio from the system speakers.
> The default audio output device is always authorized.
:-(
capex|11 years ago
EDIT: Someone found my comment worth downvoting.
mparramon|11 years ago
http://www.developingandstuff.com/2015/03/somethingjs.html
taternuts|11 years ago
lifthrasiir|11 years ago
rolfvandekrol|11 years ago
riscy|11 years ago
Kiro|11 years ago
keehun|11 years ago
carlesfe|11 years ago
In case you missed part of the joke: you need to turn your speakers on
malkia|11 years ago
can't wait to use it now!
dennisnedry|11 years ago
maze-le|11 years ago
hrayr|11 years ago
drudru11|11 years ago
http://www.redwoodsoft.com/dru/elevator/
The music no longer plays in browsers for some reason.
volent|11 years ago
mamoriamohit|11 years ago
SchizoDuckie|11 years ago
NKCSS|11 years ago
amelius|11 years ago
Thanks for the "great" experience :)
Jamie452|11 years ago
Actually made me laugh a little, nice!
ctaglia|11 years ago
deitcher|11 years ago
bdthinh|11 years ago
hsshah|11 years ago
Do you have ublock? Try disabling that on this page.
naringas|11 years ago
does that track have a title?
jffry|11 years ago
danielhgma|11 years ago
melicerte|11 years ago
calinet6|11 years ago
gbachik|11 years ago
soukiab|11 years ago
nness|11 years ago
morpheous|11 years ago
I'm very annoyed about the sudden blaring, jarring music. Got a few angry stares from colleagues.
The polite thing to have done would at least put up a notice.
danielbln|11 years ago
If I ever go postal in the open plan office here, then it's going to be over random noise (skype sounds being the worst culprit) escaping someone's unmuted laptop.
sparaker|11 years ago
weavie|11 years ago
ConAntonakos|11 years ago