Upload files to "/"
This commit is contained in:
+951
@@ -0,0 +1,951 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0"
|
||||
>
|
||||
|
||||
<title>Kronic Krusaders Chat</title>
|
||||
|
||||
<link rel="icon" href="data:,">
|
||||
<link rel="stylesheet" href="/css/screenshare.css?v=20261031-2">
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/css/index.css?v=20261101-1"
|
||||
>
|
||||
|
||||
<script
|
||||
src="https://cdnjs.cloudflare.com/ajax/libs/livekit-client/2.15.7/livekit-client.umd.min.js"
|
||||
defer
|
||||
></script>
|
||||
|
||||
<script src="/js/install-config.js?v=20261031-2" defer></script>
|
||||
<script src="/js/app-config.js?v=20261102-bridge1" defer></script>
|
||||
<script src="/js/app-auth.js?v=20261031-1" defer></script>
|
||||
<script src="/js/utils.js?v=20261031-1" defer></script>
|
||||
<script src="/js/audio-settings.js?v=20261031-1" defer></script>
|
||||
<script src="/js/storage.js?v=20261031-1" defer></script>
|
||||
<script src="/js/tool-windows.js?v=20261102-bridge1" defer></script>
|
||||
<script src="/js/chat-controller.js?v=20261031-1" defer></script>
|
||||
<script src="/js/media-controller.js?v=20261102-bridge1" defer></script>
|
||||
<script src="/js/participants.js?v=20261031-1" defer></script>
|
||||
<script src="/js/screenshare.js?v=20261031-1" defer></script>
|
||||
<script src="/js/room-auth.js?v=20261031-1" defer></script>
|
||||
<script src="/js/livekit-controller.js?v=20261031-1" defer></script>
|
||||
<script src="/js/message-router.js?v=20261102-bridge1" defer></script>
|
||||
<script src="/js/app-init.js?v=20261102-bridge1" defer></script>
|
||||
<script src="/js/chat.js?v=20261031-1" defer></script>
|
||||
<script src="/js/ui-fixes.js?v=20261031-1" defer></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div
|
||||
id="roomAuthModal"
|
||||
class="room-auth-modal"
|
||||
hidden
|
||||
>
|
||||
<div
|
||||
class="room-auth-backdrop"
|
||||
data-room-auth-close
|
||||
></div>
|
||||
|
||||
<section
|
||||
class="room-auth-dialog"
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
aria-labelledby="roomAuthTitle"
|
||||
>
|
||||
<header class="room-auth-header">
|
||||
<h2 id="roomAuthTitle">
|
||||
Join Room
|
||||
</h2>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="window-close-button"
|
||||
onclick="closeRoomAuthModal()"
|
||||
aria-label="Close"
|
||||
>
|
||||
×
|
||||
</button>
|
||||
</header>
|
||||
|
||||
<div class="room-auth-content">
|
||||
<p id="roomAuthMessage"></p>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="roomAuthPassword">
|
||||
Room Password
|
||||
</label>
|
||||
|
||||
<input
|
||||
type="password"
|
||||
id="roomAuthPassword"
|
||||
autocomplete="off"
|
||||
>
|
||||
</div>
|
||||
|
||||
<div
|
||||
id="roomAuthConfirmGroup"
|
||||
class="form-group"
|
||||
hidden
|
||||
>
|
||||
<label for="roomAuthPasswordConfirm">
|
||||
Confirm Password
|
||||
</label>
|
||||
|
||||
<input
|
||||
type="password"
|
||||
id="roomAuthPasswordConfirm"
|
||||
autocomplete="off"
|
||||
>
|
||||
</div>
|
||||
|
||||
<div
|
||||
id="roomAuthError"
|
||||
class="room-auth-error"
|
||||
role="alert"
|
||||
hidden
|
||||
></div>
|
||||
</div>
|
||||
|
||||
<footer class="room-auth-actions">
|
||||
<button
|
||||
type="button"
|
||||
class="action-button secondary-button"
|
||||
onclick="closeRoomAuthModal()"
|
||||
>
|
||||
Cancel
|
||||
</button>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
id="roomAuthSubmitBtn"
|
||||
class="action-button primary-button"
|
||||
onclick="submitRoomAuthentication()"
|
||||
>
|
||||
Join Room
|
||||
</button>
|
||||
</footer>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<!-- Internal avatar state: used by picker and LiveKit; not a sidebar setting. -->
|
||||
<input type="hidden" id="avatarUrl" value="">
|
||||
|
||||
<div class="app-shell">
|
||||
<header class="topbar">
|
||||
<div class="brand">
|
||||
<div class="brand-icon">
|
||||
KK
|
||||
</div>
|
||||
|
||||
<div class="brand-text">
|
||||
<h1>Kronic Krusaders</h1>
|
||||
<span>Hangout Chat Platform</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
id="windowTaskbar"
|
||||
class="window-taskbar"
|
||||
aria-label="Minimized windows"
|
||||
></div>
|
||||
|
||||
<div class="topbar-tools">
|
||||
<button
|
||||
type="button"
|
||||
id="mobileAudioMenuBtn"
|
||||
class="icon-button mobile-menu-button"
|
||||
onclick="Kronick.toggleMobileSidebar()"
|
||||
aria-controls="connectionPanel"
|
||||
aria-expanded="false"
|
||||
title="Audio settings"
|
||||
>
|
||||
<span class="button-icon">⚙</span>
|
||||
<span class="button-label">AUDIO</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="icon-button icon-only-button"
|
||||
onclick="openMusicBrowser()"
|
||||
title="Media"
|
||||
aria-label="Open media browser"
|
||||
>
|
||||
<span class="button-icon">🎵</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="icon-button icon-only-button"
|
||||
onclick="openGiphyBrowser()"
|
||||
title="GIF"
|
||||
aria-label="Open GIF browser"
|
||||
>
|
||||
<span class="button-icon">🙂</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
id="chatToolButton"
|
||||
class="icon-button icon-only-button"
|
||||
onclick="openChatWindow()"
|
||||
title="Chat"
|
||||
aria-label="Open chat"
|
||||
>
|
||||
<span class="button-icon">💬</span>
|
||||
|
||||
<span
|
||||
id="chatUnreadCount"
|
||||
class="chat-unread-count"
|
||||
data-count="0"
|
||||
hidden
|
||||
></span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
id="screenShareBtn"
|
||||
type="button"
|
||||
class="icon-button icon-only-button"
|
||||
onclick="toggleScreenShare()"
|
||||
title="Screen Share"
|
||||
aria-label="Start or stop screen sharing"
|
||||
disabled
|
||||
>
|
||||
<span class="button-icon screen-share-icon"></span>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="workspace">
|
||||
<aside
|
||||
id="connectionPanel"
|
||||
class="connection-panel"
|
||||
>
|
||||
<section class="panel-section">
|
||||
<div class="section-heading">
|
||||
<span>Voice Connection</span>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="roomName">
|
||||
Assigned Room
|
||||
</label>
|
||||
|
||||
<input
|
||||
type="text"
|
||||
id="roomName"
|
||||
placeholder="Room name"
|
||||
list="savedRooms"
|
||||
autocomplete="on"
|
||||
>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="userName">
|
||||
Account / Chat Name
|
||||
</label>
|
||||
|
||||
<input
|
||||
type="text"
|
||||
id="userName"
|
||||
placeholder="Enter chat name"
|
||||
list="savedNames"
|
||||
autocomplete="nickname"
|
||||
>
|
||||
</div>
|
||||
|
||||
<datalist id="savedRooms"></datalist>
|
||||
<datalist id="savedNames"></datalist>
|
||||
|
||||
<div class="connection-actions">
|
||||
<button
|
||||
type="button"
|
||||
id="joinBtn"
|
||||
class="action-button primary-button"
|
||||
onclick="connect()"
|
||||
>
|
||||
<span>Join Voice</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
id="muteBtn"
|
||||
class="action-button secondary-button"
|
||||
onclick="toggleMute()"
|
||||
disabled
|
||||
>
|
||||
<span>Mute</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
id="leaveBtn"
|
||||
class="action-button danger-button"
|
||||
onclick="disconnect()"
|
||||
disabled
|
||||
>
|
||||
<span>Leave</span>
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="panel-section audio-settings-section">
|
||||
<div class="section-heading audio-heading">
|
||||
<span>Mic & Audio Settings</span>
|
||||
<span class="settings-saved-note">
|
||||
Saved per device
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<details class="audio-setting-group audio-collapsible">
|
||||
<summary class="audio-group-title">
|
||||
Voice activation
|
||||
</summary>
|
||||
|
||||
<label
|
||||
class="compact-toggle"
|
||||
for="voiceActivationToggle"
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
id="voiceActivationToggle"
|
||||
checked
|
||||
>
|
||||
<span>
|
||||
Only transmit when I speak
|
||||
</span>
|
||||
</label>
|
||||
|
||||
<div class="audio-control">
|
||||
<div class="audio-control-label">
|
||||
<label for="vadThreshold">
|
||||
Voice activation level
|
||||
</label>
|
||||
|
||||
<span
|
||||
id="vadThresholdVal"
|
||||
class="audio-value"
|
||||
>
|
||||
-45 dB
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<input
|
||||
type="range"
|
||||
id="vadThreshold"
|
||||
min="-80"
|
||||
max="-10"
|
||||
value="-45"
|
||||
step="1"
|
||||
>
|
||||
|
||||
<div class="range-ends">
|
||||
<span>Picks up quiet voice</span>
|
||||
<span>Voice must be louder</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="voice-meter-wrap"
|
||||
aria-label="Current microphone activity"
|
||||
>
|
||||
<div class="voice-meter-labels">
|
||||
<span>No voice activity</span>
|
||||
|
||||
<span id="voiceMeterDb">
|
||||
-∞ dB
|
||||
</span>
|
||||
|
||||
<span>Max voice activity</span>
|
||||
</div>
|
||||
|
||||
<div class="voice-meter">
|
||||
<div
|
||||
id="voiceMeterFill"
|
||||
class="voice-meter-fill"
|
||||
></div>
|
||||
|
||||
<div
|
||||
id="voiceThresholdMarker"
|
||||
class="voice-threshold-marker"
|
||||
></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="audio-control">
|
||||
<div class="audio-control-label">
|
||||
<label for="vadHold">
|
||||
Keep mic open after speech
|
||||
</label>
|
||||
|
||||
<span
|
||||
id="vadHoldVal"
|
||||
class="audio-value"
|
||||
>
|
||||
200 ms
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<input
|
||||
type="range"
|
||||
id="vadHold"
|
||||
min="0"
|
||||
max="1200"
|
||||
value="200"
|
||||
step="25"
|
||||
>
|
||||
|
||||
<div class="range-ends">
|
||||
<span>Snappy</span>
|
||||
<span>Natural pauses</span>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<details class="audio-setting-group audio-collapsible">
|
||||
<summary class="audio-group-title">
|
||||
Noise suppression
|
||||
</summary>
|
||||
|
||||
<label
|
||||
class="compact-toggle"
|
||||
for="noiseSuppressionToggle"
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
id="noiseSuppressionToggle"
|
||||
checked
|
||||
>
|
||||
|
||||
<span>
|
||||
Enable noise suppression
|
||||
</span>
|
||||
</label>
|
||||
|
||||
<div class="audio-control">
|
||||
<label for="noiseSuppressionMode">
|
||||
Suppression system
|
||||
</label>
|
||||
|
||||
<select
|
||||
id="noiseSuppressionMode"
|
||||
class="audio-select"
|
||||
>
|
||||
<option value="browser">
|
||||
Browser — light / compatible
|
||||
</option>
|
||||
|
||||
<option value="rnnoise">
|
||||
RNNoise — stronger / natural voice
|
||||
</option>
|
||||
|
||||
<option value="hybrid" selected>
|
||||
Hybrid — browser + RNNoise
|
||||
</option>
|
||||
|
||||
<option value="off">
|
||||
Off — raw microphone
|
||||
</option>
|
||||
</select>
|
||||
|
||||
<div
|
||||
id="noiseModeHelp"
|
||||
class="control-help"
|
||||
></div>
|
||||
</div>
|
||||
|
||||
<details
|
||||
class="audio-advanced"
|
||||
id="noiseAdvanced"
|
||||
>
|
||||
<summary>
|
||||
Fine tuning
|
||||
</summary>
|
||||
|
||||
<div class="advanced-content">
|
||||
<div
|
||||
class="audio-control"
|
||||
id="rnnoiseStrengthControl"
|
||||
>
|
||||
<div class="audio-control-label">
|
||||
<label for="rnnoiseStrength">
|
||||
RNNoise mix
|
||||
</label>
|
||||
|
||||
<span
|
||||
id="rnnoiseStrengthVal"
|
||||
class="audio-value"
|
||||
>
|
||||
100%
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<input
|
||||
type="range"
|
||||
id="rnnoiseStrength"
|
||||
min="0"
|
||||
max="100"
|
||||
value="100"
|
||||
step="5"
|
||||
>
|
||||
|
||||
<div class="range-ends">
|
||||
<span>
|
||||
More original mic
|
||||
</span>
|
||||
|
||||
<span>
|
||||
More cleaned audio
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<label
|
||||
class="compact-toggle"
|
||||
for="echoCancellationToggle"
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
id="echoCancellationToggle"
|
||||
checked
|
||||
>
|
||||
|
||||
<span>
|
||||
Echo cancellation
|
||||
</span>
|
||||
</label>
|
||||
|
||||
<label
|
||||
class="compact-toggle"
|
||||
for="autoGainToggle"
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
id="autoGainToggle"
|
||||
checked
|
||||
>
|
||||
|
||||
<span>
|
||||
Automatic microphone gain
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
id="applyAudioProcessingBtn"
|
||||
class="audio-apply-button"
|
||||
>
|
||||
Apply suppression changes
|
||||
</button>
|
||||
|
||||
<div
|
||||
id="audioRestartHint"
|
||||
class="control-help restart-hint"
|
||||
>
|
||||
Changes are saved automatically.
|
||||
Apply them now if you are already connected.
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<details class="audio-setting-group audio-collapsible">
|
||||
<summary class="audio-group-title">
|
||||
Spatial audio
|
||||
</summary>
|
||||
|
||||
<label
|
||||
class="compact-toggle"
|
||||
for="spatialAudioToggle"
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
id="spatialAudioToggle"
|
||||
checked
|
||||
>
|
||||
|
||||
<span>
|
||||
Position voices around me
|
||||
</span>
|
||||
</label>
|
||||
|
||||
<div class="audio-control">
|
||||
<div class="audio-control-label">
|
||||
<label for="spatialWidth">
|
||||
Left / right separation
|
||||
</label>
|
||||
|
||||
<span
|
||||
id="spatialWidthVal"
|
||||
class="audio-value"
|
||||
>
|
||||
100%
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<input
|
||||
type="range"
|
||||
id="spatialWidth"
|
||||
min="0"
|
||||
max="200"
|
||||
value="100"
|
||||
step="5"
|
||||
>
|
||||
|
||||
<div class="range-ends">
|
||||
<span>Centered</span>
|
||||
<span>Wide</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<details class="audio-advanced">
|
||||
<summary>
|
||||
Fine tuning
|
||||
</summary>
|
||||
|
||||
<div class="advanced-content">
|
||||
<div class="audio-control">
|
||||
<div class="audio-control-label">
|
||||
<label for="spatialDepth">
|
||||
Front / back depth
|
||||
</label>
|
||||
|
||||
<span
|
||||
id="spatialDepthVal"
|
||||
class="audio-value"
|
||||
>
|
||||
100%
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<input
|
||||
type="range"
|
||||
id="spatialDepth"
|
||||
min="0"
|
||||
max="200"
|
||||
value="100"
|
||||
step="5"
|
||||
>
|
||||
</div>
|
||||
|
||||
<div class="audio-control">
|
||||
<div class="audio-control-label">
|
||||
<label for="spatialFalloff">
|
||||
Distance volume effect
|
||||
</label>
|
||||
|
||||
<span
|
||||
id="spatialFalloffVal"
|
||||
class="audio-value"
|
||||
>
|
||||
100%
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<input
|
||||
type="range"
|
||||
id="spatialFalloff"
|
||||
min="0"
|
||||
max="200"
|
||||
value="100"
|
||||
step="5"
|
||||
>
|
||||
|
||||
<div class="range-ends">
|
||||
<span>Even volume</span>
|
||||
<span>Stronger distance</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
</details>
|
||||
</section>
|
||||
|
||||
<section class="connection-status">
|
||||
<div
|
||||
id="statusIndicator"
|
||||
class="status-indicator"
|
||||
></div>
|
||||
|
||||
<div class="status-content">
|
||||
<span class="status-label">
|
||||
Connection status
|
||||
</span>
|
||||
|
||||
<span
|
||||
id="statusBar"
|
||||
class="status-bar"
|
||||
>
|
||||
Not connected
|
||||
</span>
|
||||
</div>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
id="mobileSidebarBackdrop"
|
||||
class="mobile-sidebar-backdrop"
|
||||
onclick="Kronick.closeMobileSidebar()"
|
||||
aria-label="Close audio settings"
|
||||
tabindex="-1"
|
||||
></button>
|
||||
|
||||
<main class="main-content">
|
||||
<div class="content-header">
|
||||
<div>
|
||||
<span class="channel-label">
|
||||
VOICE CHANNEL
|
||||
</span>
|
||||
|
||||
<h2>
|
||||
Participants
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div class="room-state">
|
||||
<span class="room-state-dot"></span>
|
||||
LiveKit
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
id="participant-container"
|
||||
class="participant-grid"
|
||||
>
|
||||
<div class="empty-room-message">
|
||||
<div class="empty-room-icon">
|
||||
🎙️
|
||||
</div>
|
||||
|
||||
<h3>
|
||||
No participants connected
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
Enter a room and display name,
|
||||
then join the voice channel.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- =================================================
|
||||
Media browser
|
||||
================================================= -->
|
||||
|
||||
<div
|
||||
id="musicFrameWrap"
|
||||
class="tool-frame-wrap"
|
||||
data-window-title="Media"
|
||||
data-window-icon="🎵"
|
||||
>
|
||||
<div
|
||||
id="musicFrameHeader"
|
||||
class="tool-frame-header"
|
||||
>
|
||||
<div class="tool-frame-title">
|
||||
<span class="tool-frame-icon">
|
||||
🎵
|
||||
</span>
|
||||
|
||||
<span>
|
||||
Kronic Media
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="window-close-button"
|
||||
onclick="closeMusicBrowser()"
|
||||
aria-label="Close media browser"
|
||||
>
|
||||
×
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<iframe
|
||||
id="musicFrame"
|
||||
class="tool-frame"
|
||||
src="https://media.kronickrusaders.ca/"
|
||||
title="Kronic Media"
|
||||
allow="autoplay; fullscreen; picture-in-picture"
|
||||
></iframe>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- =================================================
|
||||
GIF browser
|
||||
================================================= -->
|
||||
|
||||
<div
|
||||
id="giphyFrameWrap"
|
||||
class="tool-frame-wrap"
|
||||
data-window-title="GIF"
|
||||
data-window-icon="🙂"
|
||||
>
|
||||
<div
|
||||
id="giphyFrameHeader"
|
||||
class="tool-frame-header"
|
||||
>
|
||||
<div class="tool-frame-title">
|
||||
<span class="tool-frame-icon">
|
||||
🙂
|
||||
</span>
|
||||
|
||||
<span>
|
||||
GIF Browser
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="window-close-button"
|
||||
onclick="closeGiphyBrowser()"
|
||||
aria-label="Close GIF browser"
|
||||
>
|
||||
×
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<iframe
|
||||
id="giphyFrame"
|
||||
class="tool-frame"
|
||||
src="/giphy.html"
|
||||
title="GIF Browser"
|
||||
allow="autoplay; fullscreen; clipboard-read; clipboard-write"
|
||||
></iframe>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- =================================================
|
||||
Chat
|
||||
================================================= -->
|
||||
|
||||
<div
|
||||
id="chatFrameWrap"
|
||||
class="tool-frame-wrap"
|
||||
data-window-title="Chat"
|
||||
data-window-icon="💬"
|
||||
>
|
||||
<div
|
||||
id="chatFrameHeader"
|
||||
class="tool-frame-header"
|
||||
>
|
||||
<div class="tool-frame-title">
|
||||
<span class="tool-frame-icon">
|
||||
💬
|
||||
</span>
|
||||
|
||||
<span>
|
||||
Chat
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="window-close-button"
|
||||
onclick="closeChatWindow()"
|
||||
aria-label="Close chat window"
|
||||
>
|
||||
×
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<iframe
|
||||
id="chatFrame"
|
||||
class="tool-frame"
|
||||
src="/chat.html"
|
||||
title="Chat"
|
||||
></iframe>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- =================================================
|
||||
Screen share
|
||||
================================================= -->
|
||||
|
||||
<div
|
||||
id="screenShareFrameWrap"
|
||||
class="tool-frame-wrap screen-share-wrap"
|
||||
data-window-title="Screen Share"
|
||||
data-window-icon="▣"
|
||||
>
|
||||
<header
|
||||
id="screenShareFrameHeader"
|
||||
class="tool-frame-header screen-share-header"
|
||||
>
|
||||
<div class="screen-share-title-area">
|
||||
<div class="screen-share-live-badge">
|
||||
<span class="screen-share-live-dot"></span>
|
||||
Live
|
||||
</div>
|
||||
|
||||
<h3 id="screenShareTitle">
|
||||
Screen Share
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="screen-share-header-actions">
|
||||
<button
|
||||
id="screenShareStopBtn"
|
||||
type="button"
|
||||
class="screen-share-stop-button"
|
||||
onclick="stopScreenShare()"
|
||||
hidden
|
||||
>
|
||||
Stop Sharing
|
||||
</button>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="window-close-button"
|
||||
onclick="closeScreenShareWindow()"
|
||||
aria-label="Close screen share"
|
||||
>
|
||||
×
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="screen-share-body screen-share-stage">
|
||||
<div
|
||||
id="screenShareEmpty"
|
||||
class="screen-share-empty"
|
||||
>
|
||||
<div class="screen-share-empty-icon">
|
||||
📺
|
||||
</div>
|
||||
|
||||
<h3>
|
||||
No Active Screen Share
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
When someone shares their screen in the room,
|
||||
it will appear here automatically.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div
|
||||
id="screenShareVideoContainer"
|
||||
class="screen-share-video-container"
|
||||
></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<img
|
||||
id="sharedGif"
|
||||
class="shared-gif"
|
||||
alt="Shared GIF"
|
||||
>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user