mirror of https://github.com/zedeus/nitter
notes: loop "gifs"
This commit is contained in:
parent
22faaca35f
commit
5ac7dc2952
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue