diff --git a/php/footer.php b/php/footer.php
index 9a0f0624..304a7061 100755
--- a/php/footer.php
+++ b/php/footer.php
@@ -21,7 +21,7 @@
-
+
Share on Facebook
@@ -68,7 +68,7 @@
-
+
diff --git a/static/js/playercontrols.js b/static/js/playercontrols.js
index 88b4c059..f7c2f1c8 100755
--- a/static/js/playercontrols.js
+++ b/static/js/playercontrols.js
@@ -1,3 +1,5 @@
+var muted = false;
+
function initYoutubeControls(player)
{
fitToScreen();
@@ -87,8 +89,17 @@ function changeQuality(wantedQ)
function mute_video()
{
- choose_button(0, true);
- ytplayer.mute();
+ if(!muted)
+ {
+ choose_button(0, true);
+ ytplayer.mute();
+ muted = true;
+ }else
+ {
+ ytplayer.unMute();
+ muted = false;
+ choose_button(ytplayer.getVolume(), false);
+ }
}
function setVolume(vol)