From dc68783fc844323682ad19c8156417a1ec7ac998 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Fri, 5 Jun 2020 23:37:05 +0200 Subject: 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 --- app/views/helpers/javascript_vars.phtml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/helpers') 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'), -- cgit v1.2.3