diff options
| author | RblSb <msrblsb@gmail.com> | 2021-02-14 06:46:05 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2021-02-14 06:46:05 +0300 |
| commit | 600156045aa6f93c79fd57ee4e76d588b3f734e6 (patch) | |
| tree | 85f1910e202091a2c446e21a4f938214c66b311c /src/client/Main.hx | |
| parent | 5b4d9c6257f7563ef685ab383037906355fbf054 (diff) | |
Subtitles url input
Can be enabled by plugins
Diffstat (limited to 'src/client/Main.hx')
| -rw-r--r-- | src/client/Main.hx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx index 78b3504..b9c9892 100644 --- a/src/client/Main.hx +++ b/src/client/Main.hx @@ -150,6 +150,9 @@ class Main { ge("#mediatitle").onkeydown = (e:KeyboardEvent) -> { if (e.keyCode == KeyCode.Return) addVideoUrl(true); } + ge("#subsurl").onkeydown = (e:KeyboardEvent) -> { + if (e.keyCode == KeyCode.Return) addVideoUrl(true); + } ge("#ce_queue_next").onclick = e -> addIframe(false); ge("#ce_queue_end").onclick = e -> addIframe(true); @@ -267,6 +270,7 @@ class Main { author: personal.name, duration: data.duration, isTemp: isTemp, + subs: data.subs, isIframe: data.isIframe == true }, atEnd: atEnd |
