DescriptionMute when clicked on sound button in ChromeOS media player.
- Add a sound mute icon and swap between sound high and mute icon based on
volume change;
- Change sound button click to toggle volume mute;
- Show volume control when mouse over sound button and hide it when mouse
leaves;
- Call volumeChange after we setupPlaybackControls so that volume slider's
value syncs with media element's volume;
- Removed "controlbutton" class from "volume" element because it is really
a control button and "controlbutton" style sets its hight to 30px;
BUG=chromium-os:3148
TEST=Verify click on sound button mute/unmute audio and volume slider shows up when mouse over sound button.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49331
Patch Set 1 #
Total comments: 10
Patch Set 2 : address arv's comments #
Total comments: 4
Patch Set 3 : for arv's comments #2 #
Messages
Total messages: 6 (0 generated)
|