mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 15:55:13 +00:00
remove border rename file
This commit is contained in:
parent
f3fa0837f9
commit
763c1178ec
2 changed files with 1 additions and 1 deletions
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
@ -777,7 +777,7 @@ let postSaveTimer = null;
|
||||||
return `<li class="border rounded my-1 p-2"><h4>${result.filename}</h4><video poster="images/video_poster.jpg" controls="controls" preload="none" src="/cloud/${address}/${result.display_path}" style="width:100%;" /></li>`;
|
return `<li class="border rounded my-1 p-2"><h4>${result.filename}</h4><video poster="images/video_poster.jpg" controls="controls" preload="none" src="/cloud/${address}/${result.display_path}" style="width:100%;" /></li>`;
|
||||||
case "audio/mpeg":
|
case "audio/mpeg":
|
||||||
return `<li class="border rounded my-1 p-2"><h4>${result.filename}</h4>
|
return `<li class="border rounded my-1 p-2"><h4>${result.filename}</h4>
|
||||||
<img src="/images/mp3-icon-png.png" class="img-fluid img-thumbnail" >
|
<img src="/images/mp3.png" class="img-fluid" >
|
||||||
<audio src="/cloud/${address}/${result.display_path}" controls="controls" preload="none" /></li>`;
|
<audio src="/cloud/${address}/${result.display_path}" controls="controls" preload="none" /></li>`;
|
||||||
case "text/html":
|
case "text/html":
|
||||||
// security issue, let's move on... Need to return something so we don't get a js undefined message.
|
// security issue, let's move on... Need to return something so we don't get a js undefined message.
|
||||||
|
|
Loading…
Reference in a new issue