discord_embed: Clarify a bit better dropbox, improve video size
/ deploy (push) Successful in -78h31m16s Details

master discord_embed_v1.0.24
Jonatan Nilsson 2023-11-07 21:05:24 +00:00
parent 9e56095773
commit 285ad3dc64
2 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "discord_embed",
"version": "1.0.23",
"version": "1.0.24",
"port": 4120,
"description": "AV1 discord server embed helper",
"main": "index.js",

View File

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Discord Embedder from AV1 server 1.0.23</title>
<title>Discord Embedder from AV1 server 1.0.24</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ if (imageLink) { }}
@ -215,8 +215,14 @@ pre {
word-break: break-all;
}
#mainplayer {
max-width: calc(100vw - 1rem);
max-height: 95vh;
}
#previewVideo {
border: 1px solid white;
max-width: 100%;
}
</style>
@ -226,7 +232,7 @@ pre {
<p>Your link is:</p>
<pre>{{=siteUrl}}</pre>
<div class="center">
<video controls poster="{{=imageLink}}">
<video id=mainplayer" controls poster="{{=imageLink}}">
<source src="{{=videoLink}}">
</video>
</div>
@ -244,7 +250,7 @@ pre {
<label>Link to video file you want to play in discord*</label>
<input id="inputVideo" type="text" name="video" value="{{=inputVideo}}">
<p class="alert">
<b>.mkv</b> video files will <b>not work</b>! <b>HEVC/h.265</b> will also <b>not work</b>! File hosting sites like <b>mediafire/dropbox/google drive</b> will also <b>not work</b>!<br>
<b>.mkv</b> video files will <b>not work</b>! <b>HEVC/h.265</b> will also <b>not work</b>! File hosting sites like <b>mediafire/google drive/dropbox</b> (unless it's dl.dropboxusercontent.com) will also <b>not work</b>!<br>
</p>
<div class="row optional">
<div class="row-item">