aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/features/messages.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index ed4136a..6245c60 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -7178,7 +7178,8 @@ export function messagesFeature(ctx) {
// for Linux plays its sound over black.
const VMEDIA = APP_BASE + '/vmedia/';
const vmediaOk = (url) => /^https:\/\//i.test(url || '');
- const serverThumb = (url) => (vmediaOk(url) ? VMEDIA + 'thumb.jpg?u=' + encodeURIComponent(url) : undefined);
+ // v=4: stills past a dark opening frame (a new URL, so the CDN's old black ones aren't served)
+ const serverThumb = (url) => (vmediaOk(url) ? VMEDIA + 'thumb.jpg?v=4&u=' + encodeURIComponent(url) : undefined);
const h264Of = (url) => VMEDIA + 'h264.mp4?u=' + encodeURIComponent(url);
const noPicture = new Set(), h264Failed = new Set();
const serverThumbFailed = new Set(); // clips vmedia had no picture for (this session)