notes: loop "gifs"

This commit is contained in:
HookedBehemoth 2022-07-02 22:40:42 +02:00
parent 22faaca35f
commit 5ac7dc2952
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ proc renderNoteParagraph(articleParagraph: ArticleParagraph; article: Article; t
result = image
of ArticleMediaType.gif:
let video = buildHtml(span(class="image")):
video(src=media.url.getVidUrl, controls="", autoplay="")
video(src=media.url.getVidUrl, controls="", autoplay="", loop="")
result = video
else: discard
of ArticleEntityType.tweet: