mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
10cbb13c26
* desktop: screen sharing * use async function * fit/fill of the video * disconnect camera button from screen share * enable video on audio call * temp * Revert "temp" This reverts commit8f8a2f7f88. * Revert "enable video on audio call" This reverts commit120068d09a. * different logic --------- Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
28 lines
844 B
HTML
28 lines
844 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
<link href="./style.css" rel="stylesheet" />
|
|
<script src="../lz-string.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<video
|
|
id="remote-video-stream"
|
|
autoplay
|
|
playsinline
|
|
poster="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAEUlEQVR42mNk+M+AARiHsiAAcCIKAYwFoQ8AAAAASUVORK5CYII="
|
|
onclick="javascript:toggleRemoteVideoFitFill()"
|
|
></video>
|
|
<video
|
|
id="local-video-stream"
|
|
muted
|
|
autoplay
|
|
playsinline
|
|
poster="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAEUlEQVR42mNk+M+AARiHsiAAcCIKAYwFoQ8AAAAASUVORK5CYII="
|
|
></video>
|
|
</body>
|
|
<footer>
|
|
<script src="../call.js"></script>
|
|
</footer>
|
|
</html>
|