aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2020-06-05 23:37:05 +0200
committerGravatar GitHub <noreply@github.com> 2020-06-05 23:37:05 +0200
commitdc68783fc844323682ad19c8156417a1ec7ac998 (patch)
tree58d6daeb288ad0616734297b2c6695a4d2b59930 /app/views/configure
parent8c4d71da2ef1366c8fcd3e7dfb7f4566d2f905f4 (diff)
Add controls on media (#3036)
Now, there is a shortcut to play or pause media available from an entry. If there is more than one media available, only the first one will be targeted. See #1952
Diffstat (limited to 'app/views/configure')
-rw-r--r--app/views/configure/shortcut.phtml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtml
index 598ce1eed..49063cc10 100644
--- a/app/views/configure/shortcut.phtml
+++ b/app/views/configure/shortcut.phtml
@@ -136,6 +136,13 @@
</div>
</div>
+ <div class="form-group">
+ <label class="group-name" for="toggle_media"><?= _t('conf.shortcut.toggle_media') ?></label>
+ <div class="group-controls">
+ <input type="text" id="toggle_media" name="shortcuts[toggle_media]" list="keys" value="<?= $s['toggle_media'] ?>" data-leave-validation="<?= $s['toggle_media'] ?>"/>
+ </div>
+ </div>
+
<legend><?= _t('conf.shortcut.other_action') ?></legend>
<div class="form-group">