mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
parent
7a08a9e132
commit
96ec75fc7f
3 changed files with 24 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ proc renderVideo*(video: Video; prefs: Prefs; path: string): VNode =
|
|||
video(poster=thumb, data-url=source, data-autoload="false", muted=prefs.muteVideos)
|
||||
verbatim "<div class=\"video-overlay\" onclick=\"playVideo(this)\">"
|
||||
tdiv(class="overlay-circle"): span(class="overlay-triangle")
|
||||
tdiv(class="overlay-duration"): text getDuration(video)
|
||||
verbatim "</div>"
|
||||
if container.len > 0:
|
||||
tdiv(class="card-content"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue