From 58fe029a7d661650f5e61387a0bc5f54fdf4e538 Mon Sep 17 00:00:00 2001 From: Kumi Date: Sat, 13 Jan 2024 09:59:36 +0100 Subject: [PATCH] Add video controls to generated cards Enabled video playback control elements for video cards to enhance the user experience, allowing viewers to play, pause, and seek within the video directly from the card interface. --- src/pix360core/static/js/worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pix360core/static/js/worker.js b/src/pix360core/static/js/worker.js index f1266ac..7347499 100644 --- a/src/pix360core/static/js/worker.js +++ b/src/pix360core/static/js/worker.js @@ -123,7 +123,7 @@ function finishcard(jobid, title, video) { }); var text = '
<' + - (video ? "video" : "img") + + (video ? "video controls" : "img") + ' class="card-img-top img-fluid" download src="/download/' + jobid + '" alt="Final ' +