discord_embed: Clarify a bit better dropbox, improve video size
All checks were successful
/ deploy (push) Successful in -78h31m16s
All checks were successful
/ deploy (push) Successful in -78h31m16s
This commit is contained in:
parent
9e56095773
commit
285ad3dc64
2 changed files with 10 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "discord_embed",
|
"name": "discord_embed",
|
||||||
"version": "1.0.23",
|
"version": "1.0.24",
|
||||||
"port": 4120,
|
"port": 4120,
|
||||||
"description": "AV1 discord server embed helper",
|
"description": "AV1 discord server embed helper",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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="/">
|
<base href="/">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
{{ if (imageLink) { }}
|
{{ if (imageLink) { }}
|
||||||
|
@ -215,8 +215,14 @@ pre {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#mainplayer {
|
||||||
|
max-width: calc(100vw - 1rem);
|
||||||
|
max-height: 95vh;
|
||||||
|
}
|
||||||
|
|
||||||
#previewVideo {
|
#previewVideo {
|
||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -226,7 +232,7 @@ pre {
|
||||||
<p>Your link is:</p>
|
<p>Your link is:</p>
|
||||||
<pre>{{=siteUrl}}</pre>
|
<pre>{{=siteUrl}}</pre>
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<video controls poster="{{=imageLink}}">
|
<video id=mainplayer" controls poster="{{=imageLink}}">
|
||||||
<source src="{{=videoLink}}">
|
<source src="{{=videoLink}}">
|
||||||
</video>
|
</video>
|
||||||
</div>
|
</div>
|
||||||
|
@ -244,7 +250,7 @@ pre {
|
||||||
<label>Link to video file you want to play in discord*</label>
|
<label>Link to video file you want to play in discord*</label>
|
||||||
<input id="inputVideo" type="text" name="video" value="{{=inputVideo}}">
|
<input id="inputVideo" type="text" name="video" value="{{=inputVideo}}">
|
||||||
<p class="alert">
|
<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>
|
</p>
|
||||||
<div class="row optional">
|
<div class="row optional">
|
||||||
<div class="row-item">
|
<div class="row-item">
|
||||||
|
|
Loading…
Reference in a new issue