From 285ad3dc64807d66402a0a88646c7c10065fc5a9 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Tue, 7 Nov 2023 21:05:24 +0000 Subject: [PATCH] discord_embed: Clarify a bit better dropbox, improve video size --- discord_embed/package.json | 2 +- discord_embed/public/index.html | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/discord_embed/package.json b/discord_embed/package.json index 0606f05..c928f69 100644 --- a/discord_embed/package.json +++ b/discord_embed/package.json @@ -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", diff --git a/discord_embed/public/index.html b/discord_embed/public/index.html index aa30d9f..eb92993 100644 --- a/discord_embed/public/index.html +++ b/discord_embed/public/index.html @@ -2,7 +2,7 @@ - Discord Embedder from AV1 server 1.0.23 + Discord Embedder from AV1 server 1.0.24 {{ 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%; } @@ -226,7 +232,7 @@ pre {

Your link is:

{{=siteUrl}}
-
@@ -244,7 +250,7 @@ pre {

- .mkv video files will not work! HEVC/h.265 will also not work! File hosting sites like mediafire/dropbox/google drive will also not work!
+ .mkv video files will not work! HEVC/h.265 will also not work! File hosting sites like mediafire/google drive/dropbox (unless it's dl.dropboxusercontent.com) will also not work!