42 Commits

Author SHA1 Message Date
zrose584
d2ee49ec45 add 't' hotkey 2020-10-12 17:52:01 +02:00
zrose584
205665f138 doXhr: check xhr.status 2020-10-09 18:49:50 +02:00
zrose584
debc11931f add comments.js 2020-10-07 20:32:57 +02:00
James Taylor
0a5088f1e5 Transcript table: Fix timestamps for videos longer than an hour
See #15
2020-09-24 14:44:21 -07:00
James Taylor
c7c74624ed Transcript: For clarity, use more verbose names and add comments 2020-09-24 14:28:01 -07:00
zrose584
0830468bd1 style transcript div 2020-09-15 20:57:11 +02:00
zrose584
b3de26606d handle firefox' VTT parsing bug
from #15:
"[..] Firefox's VTT parsing [ignores] newlines. So if the cue starts
with a newline, that cue will have blank text (a corollary is that
the first sentence uttered will fail to display in the automatic
captions [..])."
2020-09-15 20:32:12 +02:00
zrose584
0be0a59a2a transcript-table: show transcript as contiguous text by default 2020-09-12 13:22:46 +02:00
zrose584
57978485ee let jinja create the transcript <details> element 2020-09-12 10:51:01 +02:00
zrose584
537a8e8ab5 transcript-table.js: sync active transcript with select_tt 2020-09-12 10:23:31 +02:00
zrose584
081058c07e default to last textTrack 2020-09-12 10:21:12 +02:00
zrose584
8222b6205b hotkeys.js: ignore if e.ctrlKey 2020-09-12 10:17:56 +02:00
zrose584
05a7907be4 add transcript-table.js 2020-09-11 21:28:29 +02:00
zrose584
94ece08a1e hotkeys.js: add 'c' for transcript 2020-09-11 21:27:49 +02:00
James Taylor
786d3eb445 hotkeys.js: use DOMContentLoaded so images don't delay script
Instead of the load event, which waits until all assets are
finished loading in order for script to start.
2020-09-09 19:00:19 -07:00
zrose584
12e56c7e71 add hotkeys.js 2020-09-09 21:01:16 +02:00
James Taylor
d1bdbf4269 Prevent long titles with no spaces overflowing item containers 2020-03-20 22:08:42 -07:00
James Taylor
77c4d913ca Specify default font for consistency between operating systems
On debian for instance, the default font DejaVu Sans is bigger
than the default calibri/times on Windows, messing up the layout
in some places. The font size in video items was adjusted
slightly to accomodate the change to liberation sans for the
default.
2020-02-22 22:53:24 -08:00
James Taylor
00cf61d625 Change px values to rem values in font-size declarations 2020-02-22 22:14:11 -08:00
James Taylor
a677b47c4a Fix display of movie thumbnails in related videos 2020-01-10 09:34:14 -08:00
James Taylor
777ed756dc Channel: Change search results to use next and previous page buttons
Because youtube doesn't give the number of search results, so previous behavior would give an error if a page number out of range was selected.
2019-12-23 14:39:59 -08:00
James Taylor
66b1159d36 Fix related videos title clipping 2019-09-18 21:49:25 -07:00
James Taylor
57c37a57e9 Add optional javascript for adding videos to playlists without the browser cancelling loading of the video, and to display a status message 2019-09-15 14:55:57 -07:00
James Taylor
27efcaf2b1 Comments: Fix some avatars overflowing 2019-09-10 15:31:20 -07:00
James Taylor
652cef15ec Watch page: Background color on video when scrubbing bar larger than video 2019-09-09 20:40:38 -07:00
James Taylor
ac32b24b2a Merge subscriptions into master 2019-09-06 15:45:01 -07:00
James Taylor
e14ec88591 Settings: Fix centering and color scheme on other themes 2019-09-06 14:47:37 -07:00
James Taylor
e9b16ef71f Layout: Add themes 2019-08-25 16:08:08 -07:00
James Taylor
609244e34f Layout: Add some space after item thumbnail 2019-08-25 13:09:08 -07:00
James Taylor
2435bcaeb1 Layout: Prevent item checkbox size from shrinking sometimes 2019-08-24 18:50:09 -07:00
James Taylor
69e64f726e Layout: Prevent long author name from overflowing in items with vertical stats 2019-08-24 18:25:37 -07:00
James Taylor
cb5f36581d Layout: add option to hide comments/related vids by default but click to show using <details> 2019-08-24 16:45:01 -07:00
James Taylor
bc8db064d2 Layout: add some space below more comments button 2019-08-24 12:02:40 -07:00
James Taylor
f2eb354197 Layout: Simplify color scheme 2019-08-24 11:59:23 -07:00
James Taylor
400d17e613 Layout: simplify CSS layout on most pages 2019-08-24 11:35:58 -07:00
James Taylor
96b9a96a50 Layout: Regression: fix blank space at bottom of short pages 2019-08-23 14:55:09 -07:00
James Taylor
85572c94de Layout: refactor item system to be more maintainable, add vertical item type 2019-08-23 14:48:00 -07:00
James Taylor
70d2cff817 Layout: Center header content 2019-08-18 18:26:13 -07:00
James Taylor
7f3ca7ee49 Layout: Replace local playlists link with home link in header and use flexbox to make it work on smaller window sizes 2019-08-18 15:57:27 -07:00
James Taylor
2e75c6d960 Merge flask framework and other stuff from master 2019-08-09 22:01:04 -07:00
James Taylor
1156b09987 Refactor search page 2019-06-21 21:41:41 -07:00
James Taylor
2db58930a6 Convert watch page to flask framework 2019-06-16 16:16:03 -07:00