lpinca / binb

:notes: Competitive, multiplayer, realtime, guess the song game
https://binb.co
MIT License
291 stars 61 forks source link

Update public/js/app.js #6

Closed thebigb closed 12 years ago

thebigb commented 12 years ago

Mute/unmute the current song. The player is automatically unmuted for the next track in playTrack().

Perhaps some visual feedback that you have muted the song would be nice.

By the way, the new switch block is because the one below expects an argument.

lpinca commented 12 years ago

I have just realized that the requested feature is roughly equivalent to clicking on the volume button. The only difference is that volume is not automatically restored for the next track and you have to click the button again. I'm not going to merge this. Anyway, thank you.