mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-05-26 12:32:25 +00:00
Add local fetch option
This commit is contained in:
parent
f78ee4ff0f
commit
9a890574d5
7 changed files with 107 additions and 45 deletions
16
pug/local-video.pug
Normal file
16
pug/local-video.pug
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
extends includes/layout
|
||||
|
||||
include includes/video-list-item
|
||||
include includes/subscribe-button
|
||||
|
||||
block head
|
||||
title Fetching... - CloudTube
|
||||
script(type="module" src=getStaticURL("html", "/static/js/local-video.js"))
|
||||
script const id = !{JSON.stringify(id)}
|
||||
|
||||
block content
|
||||
main.video-error-page
|
||||
h2 Fetching video
|
||||
p#status Waiting...
|
||||
form(method="post")#form.local-video-form
|
||||
input(type="hidden" name="video")#video-data
|
||||
Loading…
Add table
Add a link
Reference in a new issue