mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
Update jot-header.tpl
This commit is contained in:
parent
71927e8386
commit
fd955a2017
1 changed files with 1 additions and 1 deletions
|
@ -782,7 +782,7 @@ let postSaveTimer = null;
|
|||
case "image/png":
|
||||
case "image/gif":
|
||||
let send = `/cloud/${address}/${result.display_path}`;
|
||||
return `<li onclick ="setEmbedFiles(send)"><img src="/cloud/${address}/${result.display_path}" class="img-fluid img-thumbnail" ></li>`;
|
||||
return `<li onclick ="setEmbedFiles(${send})"><img src="/cloud/${address}/${result.display_path}" class="img-fluid img-thumbnail" ></li>`;
|
||||
case "video/mp4":
|
||||
return `<li class="border rounded my-1 p-2" ><h4 onclick ="setEmbedFiles()">${result.filename}<i class="float-end">{{$clicktitle}}</i></h4><video poster="images/video_poster.jpg" controls="controls" preload="none" src="/cloud/${address}/${result.display_path}" style="width:100%;" /></li>`;
|
||||
case "audio/mpeg":
|
||||
|
|
Loading…
Reference in a new issue