mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed Linux install script to accept cookies in addition to meshid.
This commit is contained in:
parent
45216ef48d
commit
3de4a33d1c
2 changed files with 12 additions and 4 deletions
|
@ -260,7 +260,7 @@
|
|||
else if (recFileMetadata.protocol == 101) {
|
||||
// Intel AMT Redirection
|
||||
recFileProtocol = 101;
|
||||
x += '<br /><br /><span style=color:gray>Press [space] to play/pause.</span>';
|
||||
x += '<br /><br /><span style=color:gray>' + "Press [space] to play/pause." + '</span>';
|
||||
QE('PlayButton', true);
|
||||
QE('PauseButton', false);
|
||||
QE('RestartButton', false);
|
||||
|
@ -275,7 +275,7 @@
|
|||
else if (recFileMetadata.protocol == 200) {
|
||||
// Intel AMT Midstream KVM
|
||||
recFileProtocol = 200;
|
||||
x += '<br /><br /><span style=color:gray>Press [space] to play/pause.</span>';
|
||||
x += '<br /><br /><span style=color:gray>' + "Press [space] to play/pause." + '</span>';
|
||||
QE('PlayButton', true);
|
||||
QE('PauseButton', false);
|
||||
QE('RestartButton', false);
|
||||
|
@ -367,6 +367,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
// This is a PNG screenshot of the display, load it and render it.
|
||||
if ((type == 3) && (recFileProtocol == 200)) {
|
||||
var tile = new Image();
|
||||
tile.src = "data:image/png;base64," + btoa(data);
|
||||
tile.onload = function () { amtDesktop.canvas.drawImage(tile, 0, 0); }
|
||||
tile.error = function () { }
|
||||
}
|
||||
|
||||
if (playing) { readNextBlock(processBlock); }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue