From df03cf1032353610098d8da45970d7fde246e380 Mon Sep 17 00:00:00 2001 From: infinite-persistence <64950861+infinite-persistence@users.noreply.github.com> Date: Tue, 18 May 2021 13:48:23 +0800 Subject: [PATCH] Skip thumbnail fetch if autoplay is ON (#6084) It's useful to show the thumbnail as the player's backdrop when Video Autoplay is OFF, but it's a wasted fetch when it's ON because the videojs component will be blocking it. Although it's the same image as the ClaimPreview, this one will be in full size, so a fetch will always happen. Aside: videojs handles the backdrop for the audio and embed case, so this change won't affect those items. ``` ``` Future: for "mobile + autoplay=OFF", we should consider using the optimized thumbnail. 6074 should help. --- ui/component/fileRenderInitiator/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/component/fileRenderInitiator/view.jsx b/ui/component/fileRenderInitiator/view.jsx index 134c5556b..a588eda45 100644 --- a/ui/component/fileRenderInitiator/view.jsx +++ b/ui/component/fileRenderInitiator/view.jsx @@ -127,7 +127,7 @@ export default function FileRenderInitiator(props: Props) { return (