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.
This commit is contained in:
parent
addd45b356
commit
58fe029a7d
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ function finishcard(jobid, title, video) {
|
|||
});
|
||||
var text =
|
||||
'<div class="card"> <' +
|
||||
(video ? "video" : "img") +
|
||||
(video ? "video controls" : "img") +
|
||||
' class="card-img-top img-fluid" download src="/download/' +
|
||||
jobid +
|
||||
'" alt="Final ' +
|
||||
|
|
Loading…
Reference in a new issue