From 53ec25f4c46f77704338e2463504d1e72fa20469 Mon Sep 17 00:00:00 2001 From: Shyam Sunder Date: Tue, 17 Dec 2019 12:41:23 -0500 Subject: [PATCH] client/post_view: Force inline playback for iOS Fixes #295 --- client/html/post_content.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/client/html/post_content.tpl b/client/html/post_content.tpl index 10bfb15c..fd5b094c 100644 --- a/client/html/post_content.tpl +++ b/client/html/post_content.tpl @@ -17,6 +17,7 @@ class: 'resize-listener', controls: true, loop: (ctx.post.flags || []).includes('loop'), + playsinline: true, autoplay: ctx.autoplay, }, ctx.makeElement('source', {