Added a rather long and not the best embed code

This commit is contained in:
Kasper Rynning-Tønnesen
2016-01-25 21:11:38 +01:00
parent 6bd2cc220e
commit 89c4a69436
15 changed files with 1339 additions and 31 deletions

View File

@@ -20,7 +20,9 @@ var Playercontrols = {
initSlider: function()
{
vol = (Crypt.get_volume());
try{
vol = (Crypt.get_volume());
}catch(e){}
$("#volume").slider({
min: 0,
max: 100,
@@ -31,7 +33,7 @@ var Playercontrols = {
Playercontrols.setVolume(ui.value);
//localStorage.setItem("volume", ui.value);
Crypt.set_volume(ui.value);
try{Crypt.set_volume(ui.value);}catch(e){}
}
});
Playercontrols.choose_button(vol, false);