add thumbnail on videos v2 APPLIED

bopol: 1
 add thumbnail on videos

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~cadence/tube-devel/patches/19505/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH v2] add thumbnail on videos Export this patch

Done. I don't think we should add a preference for this, many video
platforms / apps either autostart or show thumbnail, and if you add too
many preferences it will become hard to understand and use.

 pug/video.pug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pug/video.pug b/pug/video.pug
index 74a9049..cfe444a 100644
--- a/pug/video.pug
+++ b/pug/video.pug
@@ -21,7 +21,7 @@ block content
          - const format = sortedFormatStreams[0]
          if format
            video(controls preload="auto" width=format.second__width height=format.second__height data-itag=format.itag)#video.video
            video(controls preload="auto" poster=`/vi/${video.videoId}/maxresdefault.jpg` width=format.second__width height=format.second__height data-itag=format.itag)#video.video
              source(src=format.url type=format.type)
Patch applied, thank you.