client/posts: display first video frame when available
This commit is contained in:
parent
7405593101
commit
ac303db9e6
1 changed files with 2 additions and 1 deletions
|
@ -19,11 +19,12 @@
|
|||
loop: (ctx.post.flags || []).includes('loop'),
|
||||
playsinline: true,
|
||||
autoplay: ctx.autoplay,
|
||||
preload: 'auto',
|
||||
poster: ctx.post.thumbnailUrl,
|
||||
},
|
||||
ctx.makeElement('source', {
|
||||
type: ctx.post.mimeType,
|
||||
src: ctx.post.contentUrl,
|
||||
src: ctx.post.contentUrl + '#t=0.001',
|
||||
}),
|
||||
'Your browser doesn\'t support HTML5 videos.')
|
||||
%>
|
||||
|
|
Reference in a new issue