Share dialog: say why the screen cannot be shared on phones #13

Merged
kibi merged 1 commits from screen-sharing into main 2026-10-01 21:59:56 +00:00
+1
View File
@@ -175,6 +175,7 @@
<button role="tab" aria-selected={kind === 'camera'} class:active={kind === 'camera'} onclick={() => setKind('camera')}>Camera</button> <button role="tab" aria-selected={kind === 'camera'} class:active={kind === 'camera'} onclick={() => setKind('camera')}>Camera</button>
</div> </div>
{#if !canScreen}<p class="help">This browser cannot capture the screen (no browser on Android or iOS can), so only a camera can be shared from here. Watching other people's screens works.</p>{/if}
{#if kind === 'camera'} {#if kind === 'camera'}
<label for="sh-cam">Camera</label> <label for="sh-cam">Camera</label>
<select id="sh-cam" value={camera} onchange={e => showCamera(e.currentTarget.value)} disabled={!cameras.length}> <select id="sh-cam" value={camera} onchange={e => showCamera(e.currentTarget.value)} disabled={!cameras.length}>