lazy load scripts
This commit is contained in:
parent
ca3ad030a0
commit
463ad6cfb1
13 changed files with 101 additions and 91 deletions
10
dashboard-ui/thirdparty/cordova/chromecast.js
vendored
10
dashboard-ui/thirdparty/cordova/chromecast.js
vendored
|
@ -166,13 +166,13 @@
|
|||
|
||||
self.unpause = function () {
|
||||
sendMessageToDevice({
|
||||
command: 'unpause'
|
||||
command: 'Unpause'
|
||||
});
|
||||
};
|
||||
|
||||
self.pause = function () {
|
||||
sendMessageToDevice({
|
||||
command: 'pause'
|
||||
command: 'Pause'
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -222,7 +222,7 @@
|
|||
|
||||
self.stop = function () {
|
||||
sendMessageToDevice({
|
||||
command: 'stop'
|
||||
command: 'Stop'
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -236,7 +236,7 @@
|
|||
|
||||
self.mute = function () {
|
||||
sendMessageToDevice({
|
||||
command: 'mute'
|
||||
command: 'Mute'
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -383,7 +383,7 @@
|
|||
|
||||
sendMessageToDevice({
|
||||
options: {
|
||||
volume: (vol / 100)
|
||||
volume: vol
|
||||
},
|
||||
command: 'SetVolume'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue