Better background and positioning of the volumeslider for mobile

This commit is contained in:
Kasper Rynning-Tønnesen
2017-09-25 22:12:53 +02:00
parent bb40c21f97
commit 55e50edca7
6 changed files with 31 additions and 10 deletions

View File

@@ -35,7 +35,7 @@ var Playercontrols = {
};
if(Helper.mobilecheck()) {
slider_values.orientation = "vertical";
$("#volume").toggleClass("hide");
$(".volume-container").toggleClass("hide");
}
$("#volume").slider(slider_values);
Playercontrols.choose_button(vol, false);
@@ -110,7 +110,7 @@ var Playercontrols = {
mute_video: function() {
if(Helper.mobilecheck()) {
$("#volume").toggleClass("hide");
$(".volume-container").toggleClass("hide");
} else {
if(!Player.player.isMuted()) {
if(chromecastAvailable) castSession.sendMessage("urn:x-cast:zoff.me", {type: "mute"});