feat: add optional page-turn sound toggle and refine flipbook UI

This commit is contained in:
Juergen
2026-04-13 22:00:39 +02:00
parent 9f9b1c9935
commit 781f050dfc
8 changed files with 41 additions and 4 deletions
@@ -19,6 +19,7 @@ class BlatterbaresPdfController extends AbstractContentElementController
{
$template->set('pdfUrl', $this->resolvePdfUrl($model));
$template->set('showNavigation', '1' === (string) ($model->flipbookShowNavigation ?? '1'));
$template->set('playTurnSound', '1' === (string) ($model->flipbookPlaySound ?? '1'));
$template->set('initialRenderPages', $this->normalizeInitialRenderPages((string) ($model->flipbookInitialPages ?? '4')));
$template->set('startMode', $this->normalizeStartMode((string) ($model->flipbookStartMode ?? 'center')));