add video and some fixes
This commit is contained in:
1 parent
40edfe44e9
commit
05e45cd936
6 files changed
+546
-8
No files matched your search
@@ -24,7 +24,7 @@ function onSubmit(ev: SubmitEvent) {
|
||||
ev.preventDefault();
|
||||
if (!q.value) return;
|
||||
|
||||
const src = "/" + q.value;
|
||||
const src = "/" + encodeURIComponent(q.value);
|
||||
const isSameSrc = videoSrc.value === src;
|
||||
videoSrc.value = src;
|
||||
|
||||
|
||||
Reference in new issue
Block a user