From d8aff2fe443813e4bab52fc7008d740f0c18f2ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Mon, 13 Apr 2015 18:24:31 +0200 Subject: [PATCH] Unmute? --- php/footer.php | 4 ++-- static/js/playercontrols.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/php/footer.php b/php/footer.php index bb4f1589..a3dbb4a8 100755 --- a/php/footer.php +++ b/php/footer.php @@ -3,9 +3,9 @@
Zöff
-

The shared youtube radio

+

The shared YouTube radio

- Being built around the youtube search and video API + Being built around the YouTube search and video API it enables the creation of collaboratiive and shared live playlists, with billions of videos and songs to choose from, all for free and without registration.
diff --git a/static/js/playercontrols.js b/static/js/playercontrols.js index 490b8bd8..ea91ce82 100755 --- a/static/js/playercontrols.js +++ b/static/js/playercontrols.js @@ -6,7 +6,7 @@ function initYoutubeControls(player) //initSlider(); durationFixer = setInterval(durationSetter, 1000); }else - { + { tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; firstScriptTag = document.getElementsByTagName('script')[0]; @@ -101,7 +101,7 @@ function initSlider() setVolume(ui.value); } }); - ytplayer.mute(); + //ytplayer.mute(); $("#volume").slider("value", ytplayer.getVolume()); }