diff --git a/css/style.css b/css/style.css
index 2b3ace9..78bb2dc 100644
--- a/css/style.css
+++ b/css/style.css
@@ -1,11 +1,5 @@
body {
background-color: rgb(62, 50, 64);
-/*
- background-image: url("/pic/bg.jpg");
- background-repeat: no-repeat;
- background-attachment: fixed;
- background-position: center center;
- background-size: cover; */
}
.parent {
@@ -20,8 +14,6 @@ body {
align-content: center;
justify-content: center;
overflow: auto;
-
-
}
#song{
diff --git a/index.html b/index.html
index 17316ec..5ead3a7 100755
--- a/index.html
+++ b/index.html
@@ -44,11 +44,9 @@
vol:
-
+
-
-
-
+
diff --git a/js/audio.js b/js/audio.js
index 2dcc213..cb2600c 100644
--- a/js/audio.js
+++ b/js/audio.js
@@ -2,6 +2,8 @@ var stream_url = 'http://stream.santic-zombie.ru';
var audio = new Audio(stream_url);
+audio.volume = 0.01;
+
var play = document.getElementById('play');
play.addEventListener('click', function() {
$("#myPlay").text("Now playing:");
@@ -14,19 +16,6 @@ pause.addEventListener('click', function() {
audio.pause();
}, false);
-/*
-audio.addEventListener("timeupdate", function() {
- var duration = document.getElementById('duration');
- var s = parseInt(audio.currentTime % 60);
- var m = parseInt((audio.currentTime / 60) % 60);
- var h = parseInt((audio.currentTime / 3600) % 60);
- if (s < 10) s = '0' + s;
- if (m < 10) m = '0' + m;
- if (h < 10) h = '0' + h;
- duration.innerHTML = h + ':' + m + ':' + s;
- }, false);
-*/
-
$("#volume").mousemove(function(){
audio.volume = parseFloat(this.value / 10);
});
diff --git a/js/radio.js b/js/radio.js
index 3a902e6..93baa95 100644
--- a/js/radio.js
+++ b/js/radio.js
@@ -36,7 +36,6 @@ function show()
MPDartist = array[0];
MPDsong = array[1];
MPDfile = array[2].replace(/^vk_kun\//,'').replace(/\.mp3/,'');
- //console.log(MPDartist);
if (MPDartist == '' && MPDCurr != MPDfile) {
MPDartist = MPDfile.replace(/\s-.*/,'').replace(/^\s*/,'').replace(/\s*$/,'');