diff options
| author | Shyam Sunder | 2019-12-17 12:41:23 -0500 |
|---|---|---|
| committer | Shyam Sunder | 2019-12-17 12:41:23 -0500 |
| commit | 53ec25f4c46f77704338e2463504d1e72fa20469 (patch) | |
| tree | 50cb47a6811016f6da0ff98a63ec2c72630fbe05 /client | |
| parent | 0a5279c2c1ae72a06b822c3fc2fd521d9a36f7d8 (diff) | |
client/post_view: Force inline playback for iOS
Fixes #295
Diffstat (limited to 'client')
| -rw-r--r-- | client/html/post_content.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/html/post_content.tpl b/client/html/post_content.tpl index 10bfb15..fd5b094 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', { |