mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-22 12:52:50 +03:00
Session player streaming improvements.
This commit is contained in:
parent
7974b43b3d
commit
0c94f8e475
@ -14989,7 +14989,7 @@
|
||||
if (rec.present == 1) {
|
||||
icon = 'm1';
|
||||
actions = '<div style=cursor:pointer;float:right><a onclick=downloadFile("recordings.ashx?file=' + encodeURIComponentEx(rec.filename) + '")><img src=images/link4.png height=10 width=10 title="Download Recording"></a> </div>';
|
||||
actions += '<div style=cursor:pointer;float:right><a href="player.htm?stream=' + encodeURIComponentEx(rec.filename) + '")><img src=images/link7.png height=10 width=10 title="Play Recording"></a> </div>';
|
||||
actions += '<div style=cursor:pointer;float:right><a href="player.htm?stream=' + encodeURIComponentEx(rec.filename) + '") rel=\"noreferrer noopener\" target=\"mcplay-' + encodeURIComponentEx(rec.filename) + '\"><img src=images/link7.png height=10 width=10 title="Play Recording"></a> </div>';
|
||||
}
|
||||
var x = '<tr tabindex=0 onmouseover=userMouseHover2(this,1) onmouseout=userMouseHover2(this,0) onkeypress="if (event.key==\'Enter\') showRecordingDialog(event,\'' + i + '\')"><td style=cursor:pointer>';
|
||||
x += '<div class=bar style=width:100%>';
|
||||
|
@ -30,7 +30,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<input id="OpenFileButton" type=button value="Open File..." onclick="openfile()" style="display:none">
|
||||
<span id="deskstatus"></span>
|
||||
<div id="deskstatus" style="line-height:22px;overflow:hidden;max-height:22px"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id=deskarea3x style="max-height:calc(100vh - 58px);height:calc(100vh - 58px);" onclick="togglePause()">
|
||||
@ -202,7 +202,13 @@
|
||||
|
||||
}
|
||||
}
|
||||
ws.onclose = function (e) { console.log('Session Streaming - Disconnected'); restart(); }
|
||||
ws.onclose = function (e) {
|
||||
console.log('Session Streaming - Disconnected');
|
||||
ws = null;
|
||||
urlargs.stream = null;
|
||||
QV('OpenFileButton', true);
|
||||
cleanup();
|
||||
}
|
||||
} else {
|
||||
QV('OpenFileButton', true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user