mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Update karax, cleanup input code
This commit is contained in:
parent
a63368e871
commit
a419f6c996
3 changed files with 8 additions and 11 deletions
|
|
@ -100,8 +100,8 @@ proc renderVideo(video: Video; prefs: Prefs; path: string): VNode =
|
|||
of m3u8, vmap:
|
||||
video(poster=thumb, data-url=source, data-autoload="false")
|
||||
verbatim "<div class=\"video-overlay\" onclick=\"playVideo(this)\">"
|
||||
verbatim "<div class=\"overlay-circle\">"
|
||||
verbatim "<span class=\"overlay-triangle\"</span></div></div>"
|
||||
tdiv(class="overlay-circle"): span(class="overlay-triangle")
|
||||
verbatim "</div>"
|
||||
if container.len > 0:
|
||||
tdiv(class="card-content"):
|
||||
h2(class="card-title"): text video.title
|
||||
|
|
|
|||
Loading…
Reference in a new issue