diff options
| author | RblSb <msrblsb@gmail.com> | 2025-01-26 23:22:33 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2025-01-28 15:46:30 +0300 |
| commit | 0592564264fff57ccfd9677957196951f9f1c6cf (patch) | |
| tree | c360c2e5d45d9ac8706f836b0466b88221e1f10d /res/index.html | |
| parent | c7518e58788c17ad2ca8340ab5c7633489aa9518 (diff) | |
Video upload feature
And you can play video as soon as upload starts! This is pretty useful for thicc ones. Video will be keeped in cache and will comply cache size limit.
I'm also implemented system storage check to change cache limit if it's lower than config value, so upload will be blocked if there is lower than 10MiB available on disk.
Diffstat (limited to 'res/index.html')
| -rw-r--r-- | res/index.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/res/index.html b/res/index.html index 47be463..4c06632 100644 --- a/res/index.html +++ b/res/index.html @@ -20,8 +20,8 @@ <section id="player"> <div id="ytapiplayer" class="embed-responsive"></div> <!-- Video info --> - <div class="info"> - <header id="header"> + <div class="info video-info"> + <header> <h2 id="currenttitle">${nothingPlaying}</h2> </header> <!-- Video controls --> @@ -44,7 +44,7 @@ <!-- Playlist --> <section id="playlist"> <!-- Playlist info --> - <div class="info"> + <div class="info playlist-info"> <header> <h3>${playlist}</h3> <button id="lockplaylist" title="${playlistOpen}"> @@ -88,7 +88,12 @@ <button id="insert_template" title="${addTemplateUrl}"> <div>></div> </button> - <input id="mediaurl" type="text" placeholder="${addVideoFromUrl}"> + <div class="mediaurl-wrap"> + <input id="mediaurl" type="text" placeholder="${addVideoFromUrl}"> + <button id="mediaurl-upload"> + <ion-icon name="cloud-upload"></ion-icon> + </button> + </div> </div> <div id="mediatitleblock" class="display-flex" style="display: none;"> <input id="mediatitle" type="text" placeholder="${optionalTitle}"> |
