1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

extract more scripts

This commit is contained in:
Luke Pulverenti 2015-06-09 01:56:46 -04:00
parent f64e0c7c53
commit d84e09e501
24 changed files with 238 additions and 90 deletions

View file

@ -743,12 +743,18 @@
self.volumeDown = function () {
self.setVolume(getCurrentVolume() - 2);
castPlayer.sendMessage({
options: {},
command: 'VolumeDown'
});
};
self.volumeUp = function () {
self.setVolume(getCurrentVolume() + 2);
castPlayer.sendMessage({
options: {},
command: 'VolumeUp'
});
};
self.setVolume = function (vol) {