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:
parent
f64e0c7c53
commit
d84e09e501
24 changed files with 238 additions and 90 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue