mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 03:55:18 +00:00
Update jot-header.tpl
This commit is contained in:
parent
e3b84a6f59
commit
9fc7041fc0
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ let postSaveTimer = null;
|
||||||
return `<li class="border rounded my-1 p-2" onclick ="setEmbedFiles('${sendmpeg}')" data-bs-dismiss="modal" ><h4>${result.filename}</h4><img src="/images/mp3.png" class="img-fluid my-2" ><audio src="/cloud/${address}/${result.display_path}" controls="controls" preload="none" /></li>`;
|
return `<li class="border rounded my-1 p-2" onclick ="setEmbedFiles('${sendmpeg}')" data-bs-dismiss="modal" ><h4>${result.filename}</h4><img src="/images/mp3.png" class="img-fluid my-2" ><audio src="/cloud/${address}/${result.display_path}" controls="controls" preload="none" /></li>`;
|
||||||
//case "text/html":
|
//case "text/html":
|
||||||
case "text/vnd.abc": these 2 don't work, they open the download dialog
|
case "text/vnd.abc": these 2 don't work, they open the download dialog
|
||||||
let sendabc = `[abc]/cloud/${address}/${result.display_path}[/abc]`;
|
let sendabc = `[abc]/store/${address}/${result.os_path}.abc[/abc]`;
|
||||||
return `<li class="border rounded my-1 p-2" onclick ="setEmbedFiles('${sendabc}')" data-bs-dismiss="modal" ><h4>${result.filename}</h4><iframe src="store/${address}/${result.os_path}.abc" scrolling="no" ></iframe></li>`;
|
return `<li class="border rounded my-1 p-2" onclick ="setEmbedFiles('${sendabc}')" data-bs-dismiss="modal" ><h4>${result.filename}</h4><iframe src="store/${address}/${result.os_path}.abc" scrolling="no" ></iframe></li>`;
|
||||||
case "text/plain":
|
case "text/plain":
|
||||||
case "application/json":
|
case "application/json":
|
||||||
|
|
Loading…
Reference in a new issue