mirror of
https://onedev.site.tesses.net/tytd2025
synced 2026-02-08 17:45:45 +00:00
Fix downloader bug, use plink and add icon to plugin template
This commit is contained in:
@@ -15,8 +15,8 @@ func Pages.VideoEmbed(id, name)
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>TYTD - {name}</title>
|
||||
|
||||
<link rel="stylesheet" href="video-js.css">
|
||||
<script src="video.min.js" defer></script>
|
||||
<link rel="stylesheet" href="./video-js.css">
|
||||
<script src="./video.min.js" defer></script>
|
||||
/* thanks https://github.com/videojs/video.js/discussions/8156#discussioncomment-5098465 */
|
||||
<raw(css)>
|
||||
</head>
|
||||
@@ -24,7 +24,7 @@ func Pages.VideoEmbed(id, name)
|
||||
<video
|
||||
id="my-video"
|
||||
class="video-js"
|
||||
controls
|
||||
controls=true
|
||||
preload="auto"
|
||||
poster={$"./api/v1/video-thumbnail?v={Net.Http.UrlEncode(id)}&res=default"}
|
||||
data-setup="{\"fill\": true}">
|
||||
|
||||
Reference in New Issue
Block a user