Fix downloader bug, use plink and add icon to plugin template

This commit is contained in:
2025-12-28 15:33:28 -06:00
parent 67de5e2d6d
commit e1b7216c69

View File

@@ -12,7 +12,7 @@ func Pages.VideoEmbed(id, name)
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{name}</name> <title>TYTD - {name}</title>
<link rel="stylesheet" href="video-js.css"> <link rel="stylesheet" href="video-js.css">
<script src="video.min.js" defer></script> <script src="video.min.js" defer></script>
@@ -26,9 +26,9 @@ func Pages.VideoEmbed(id, name)
controls controls
preload="auto" preload="auto"
poster={$"./api/v1/video-thumbnail?v={Net.Http.UrlEncode(id)}&res=default"} poster={$"./api/v1/video-thumbnail?v={Net.Http.UrlEncode(id)}&res=default"}
data-setup='{"fill": true}' data-setup="{\"fill\": true}"
> >
<source src={$"./api/v1/download?v={Net.Http.UrlEncode(id)}&inline=true"} type="video/mp4" /> <source src={$"./api/v1/download?v={Net.Http.UrlEncode(id)}&inline=true"} type="video/mp4"></source>
<p class="vjs-no-js"> <p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a To view this video please enable JavaScript, and consider upgrading to a
web browser that web browser that