Skip to content

Commit

Permalink
loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ledyba committed Mar 28, 2023
1 parent 388e2f1 commit f159e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/renderer/MomentRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class MomentRenderer {
return `<p>!!id=${escapeHTML(block.entity)} is not a video!!</p>`
}
return `
<video class="embed" preload="metadata" controls="controls" width="${entity.width}" height="${entity.height}">
<video class="embed" preload="metadata" loop controls="controls" width="${entity.width}" height="${entity.height}">
<source type="${escapeAttribute(entity.mimeType)}" src="/entity/${escapeAttribute(entity.id)}">
<a href="/entity/${escapeAttribute(entity.id)}">Click to play.</a>
</video>
Expand Down

0 comments on commit f159e08

Please sign in to comment.