Generate thumbnails for new video attachments, video quotes

This commit is contained in:
Scott Nonnenberg
2018-04-25 18:32:46 -07:00
parent 0e99ca61a2
commit ac0b50d20f
5 changed files with 222 additions and 109 deletions

View File

@@ -237,7 +237,12 @@
</div>
</script>
<script type='text/x-tmpl-mustache' id='attachment-preview'>
<img src='{{ source }}' class='preview' />
<div class='image-container'>
<img src='{{ source }}' class='preview' />
<div class='outer'>
<div class='play icon'></div>
</div>
</div>
<a class='x close' alt='remove attachment' href='#'></a>
</script>
<script type='text/x-tmpl-mustache' id='file-view'>