fix(webui): add <br>
This is plain JS/CSS/HTML
This commit is contained in:
parent
3fc3f1badd
commit
51834cc7e6
@ -96,7 +96,7 @@ getLessonButton.addEventListener('click', async () => {
|
|||||||
}
|
}
|
||||||
const progressId = randomString(15);
|
const progressId = randomString(15);
|
||||||
const progressStrId = randomString(15);
|
const progressStrId = randomString(15);
|
||||||
videoDlResult.innerHTML += `<span>${video.name}.mp4 <progress id="${progressId}" value="0" max="100"></progress> <span id="${progressStrId}">0%</span></span>`
|
videoDlResult.innerHTML += `<span>${video.name}.mp4 <progress id="${progressId}" value="0" max="100"></progress> <span id="${progressStrId}">0%</span></span><br>`
|
||||||
const rsp = await fetch(`/api/v1/download-video?${new URLSearchParams({
|
const rsp = await fetch(`/api/v1/download-video?${new URLSearchParams({
|
||||||
url: encodeURIComponent(videoData.m3u8),
|
url: encodeURIComponent(videoData.m3u8),
|
||||||
output: encodeURIComponent(`videos/${video.name}.mp4`),
|
output: encodeURIComponent(`videos/${video.name}.mp4`),
|
||||||
|
Loading…
Reference in New Issue
Block a user