~cadence/tube-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH v2] add thumbnail on videos

bopol
Details
Message ID
<20210112133516.5294-1-bopol@e.email>
DKIM signature
pass
Download raw message
Patch: +1 -1
---
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
        .video-container
          - 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)
          else
            video(src="")#video.video
-- 
2.29.2
Details
Message ID
<20210113023742.0b7d0d859fa370d1babd31c4@disroot.org>
In-Reply-To
<20210112133516.5294-1-bopol@e.email> (view parent)
DKIM signature
pass
Download raw message
Patch applied, thank you.
Reply to thread Export thread (mbox)