mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Proxy media instead of using file cache
This commit is contained in:
parent
1dcb191903
commit
68a5ac20b6
7 changed files with 80 additions and 61 deletions
|
|
@ -107,7 +107,7 @@ proc renderGif(gif: Gif; prefs: Prefs): VNode =
|
|||
tdiv(class="gallery-gif", style={maxHeight: "unset"}):
|
||||
tdiv(class="attachment"):
|
||||
let thumb = getPicUrl(gif.thumb)
|
||||
let url = getGifUrl(gif.url)
|
||||
let url = getPicUrl(gif.url)
|
||||
if prefs.autoplayGifs:
|
||||
video(class="gif", poster=thumb, controls="", autoplay="", muted="", loop=""):
|
||||
source(src=url, `type`="video/mp4")
|
||||
|
|
|
|||
Loading…
Reference in a new issue