Update jot-header.tpl

This commit is contained in:
Ray 2023-02-27 14:07:42 -05:00
parent 71927e8386
commit fd955a2017

View file

@ -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":