Update jot-header.tpl

This commit is contained in:
Ray 2023-02-27 14:34:07 -05:00
parent ac9f2974b3
commit 69b4715100

View file

@ -784,7 +784,7 @@ let postSaveTimer = null;
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>`;
case "video/mp4":
let send = `/cloud/${address}/${result.display_path}`;
send = `/cloud/${address}/${result.display_path}`;
return `<li class="border rounded my-1 p-2" ><h4 onclick ="setEmbedFiles('${send}')">${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":
return `<li class="border rounded my-1 p-2" onclick ="setEmbedFiles()"><h4>${result.filename}</h4>