From 81080da06fef6e178e9ced4a9ffa7ad67bc908a6 Mon Sep 17 00:00:00 2001 From: rr- Date: Fri, 11 Nov 2016 23:14:51 +0100 Subject: [PATCH] client/settings: add ability to autoplay videos --- client/html/post_content.tpl | 22 ++++++++++++---------- client/html/settings.tpl | 8 ++++++++ client/js/controls/post_content_control.js | 5 ++++- client/js/models/settings.js | 1 + client/js/util/views.js | 1 + client/js/views/settings_view.js | 1 + 6 files changed, 27 insertions(+), 11 deletions(-) diff --git a/client/html/post_content.tpl b/client/html/post_content.tpl index 90b2e993..0703ace7 100644 --- a/client/html/post_content.tpl +++ b/client/html/post_content.tpl @@ -12,16 +12,18 @@ <% } else if (ctx.post.type === 'video') { %> - <% if ((ctx.post.flags || []).includes('loop')) { %> -