Add countdown audio per presentation
CI / Deploy / PHP 8.4 (push) Failing after 1m18s
CI / Deploy / PHP 8.5 (push) Failing after 2m4s
CI / Deploy / test (push) Failing after 1s
CI / Deploy / deploy (push) Skipped

One audio file per poll (MP3, M4A, OGG, WAV) is uploaded in the admin
settings and looped in the presenter view while a quiz runs. Format is
detected by magic bytes, files are served with a fixed content type,
copied with the poll and swept by images_cleanup.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-21 11:36:01 +01:00
1 parent cad09163d9
commit 2f7a401522
16 files changed
+648 -11

No files matched your search

+5
View File
@@ -69,6 +69,11 @@ return [
// Slides with an image per poll.
'maxPerPoll' => (int)env('IMAGE_MAX_PER_POLL', 20),
],
// Countdown audio of a presentation (see \App\Service\AudioService): stored as uploaded next to the images.
'audio' => [
// Largest accepted upload. PHP's upload_max_filesize/post_max_size must allow it.
'maxUploadBytes' => (int)env('AUDIO_MAX_UPLOAD_MB', 10) * 1024 * 1024,
],
// Slides embedded in other presentation software (/e/{key}/{slide}, e.g. Canva).
'embed' => [
// A visible embedded slide reports every N seconds that it is still on screen ...