Rotate scale comments by reading time
Add an automatic comment interval (now the default) that keeps each comment on stage depending on its length: 2.5 s plus 15 characters per second, between 5 and 30 seconds. Fixed intervals remain selectable. Next, previous and resume give the current comment its full time again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6912d045cf
commit
05ff5967e3
6 files changed
+68
-25
No files matched your search
@@ -176,11 +176,17 @@ $optionsError = $slide->getError('options_text');
|
||||
'type' => 'select',
|
||||
'options' => array_combine(
|
||||
\App\Model\Entity\Slide::COMMENT_INTERVALS,
|
||||
array_map(fn(int $s) => __n('{0} Sekunde', '{0} Sekunden', $s, $s), \App\Model\Entity\Slide::COMMENT_INTERVALS),
|
||||
array_map(
|
||||
fn(int $s) => $s === \App\Model\Entity\Slide::COMMENT_INTERVAL_AUTO
|
||||
? __('automatisch (je nach Länge des Kommentars)')
|
||||
: __n('{0} Sekunde', '{0} Sekunden', $s, $s),
|
||||
\App\Model\Entity\Slide::COMMENT_INTERVALS,
|
||||
),
|
||||
),
|
||||
'label' => __('Nächster Kommentar nach'),
|
||||
'value' => $settings['comment_interval'],
|
||||
]) ?>
|
||||
<p class="hint"><?= __('„Automatisch“ lässt jedem Kommentar so viel Zeit, wie man zum Lesen braucht: kurze stehen etwa 5 Sekunden, lange bis zu 30 Sekunden.') ?></p>
|
||||
<?= $this->Form->control('settings.comment_ratings', [
|
||||
'type' => 'checkbox',
|
||||
'label' => __('Bewertung beim Kommentar in der Präsentation anzeigen'),
|
||||
|
||||
Reference in new issue
Block a user