mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/posts: thumbnail as video poster
This commit is contained in:
@ -19,6 +19,7 @@
|
|||||||
loop: (ctx.post.flags || []).includes('loop'),
|
loop: (ctx.post.flags || []).includes('loop'),
|
||||||
playsinline: true,
|
playsinline: true,
|
||||||
autoplay: ctx.autoplay,
|
autoplay: ctx.autoplay,
|
||||||
|
poster: ctx.post.thumbnailUrl,
|
||||||
},
|
},
|
||||||
ctx.makeElement('source', {
|
ctx.makeElement('source', {
|
||||||
type: ctx.post.mimeType,
|
type: ctx.post.mimeType,
|
||||||
|
Reference in New Issue
Block a user