client/posts: thumbnail as video poster

This commit is contained in:
Eva
2023-05-22 09:33:18 +02:00
parent 8e4981dfb2
commit 10c15752d3

View File

@ -19,6 +19,7 @@
loop: (ctx.post.flags || []).includes('loop'),
playsinline: true,
autoplay: ctx.autoplay,
poster: ctx.post.thumbnailUrl,
},
ctx.makeElement('source', {
type: ctx.post.mimeType,