Add embeddable slides and pause mode
Every slide gets an embed URL /e/{key}/{id} for presentation software
like Canva. The page goes live while it is visible, keeps itself live
with heartbeats and pauses when it disappears; stale embeds are paused
lazily. The embed key is separate from the admin token and only allows
showing, activating, pausing and voting controls of that slide.
Participants see a pause page while no slide is live. The presenter
can pause (P) and resume the paused slide with the arrow keys; the
dashboard has a pause button.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
58145e9753
commit
07a292d109
19 files changed
+1116
-68
No files matched your search
@@ -41,6 +41,13 @@ $countdown = function (?int $remaining): string {
|
||||
<p class="muted"><?= __('Danke fürs Vorbeischauen!') ?></p>
|
||||
</section>
|
||||
|
||||
<?php elseif ($slide === null && $poll->isPaused()) : ?>
|
||||
<section class="card center waiting waiting--pause">
|
||||
<div class="pulse" aria-hidden="true"></div>
|
||||
<h1><?= __('Kurze Pause') ?></h1>
|
||||
<p class="muted"><?= __('Gerade ist keine Frage aktiv. Sobald es weitergeht, erscheint sie hier automatisch – du musst nichts tun.') ?></p>
|
||||
</section>
|
||||
|
||||
<?php elseif ($slide === null) : ?>
|
||||
<section class="card center waiting">
|
||||
<div class="pulse" aria-hidden="true"></div>
|
||||
|
||||
Reference in new issue
Block a user