diff options
| author | 2020-06-05 23:37:05 +0200 | |
|---|---|---|
| committer | 2020-06-05 23:37:05 +0200 | |
| commit | dc68783fc844323682ad19c8156417a1ec7ac998 (patch) | |
| tree | 58d6daeb288ad0616734297b2c6695a4d2b59930 /app/views/helpers/javascript_vars.phtml | |
| parent | 8c4d71da2ef1366c8fcd3e7dfb7f4566d2f905f4 (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/helpers/javascript_vars.phtml')
| -rw-r--r-- | app/views/helpers/javascript_vars.phtml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml index 52489c5c3..e6fb4ab3f 100644 --- a/app/views/helpers/javascript_vars.phtml +++ b/app/views/helpers/javascript_vars.phtml @@ -41,6 +41,7 @@ echo htmlspecialchars(json_encode(array( 'global_view' => @$s['global_view'], 'reading_view' => @$s['reading_view'], 'rss_view' => @$s['rss_view'], + 'toggle_media' => @$s['toggle_media'], ), 'urls' => array( 'index' => _url('index', 'index'), |
