115 Commits

Author SHA1 Message Date
James Taylor
2cfc6dec39
Merge pull request #23 from zrose584/comments_js
add comments.js for comment replies
2020-10-11 18:52:34 -07:00
zrose584
4844fa6d65 add comments.js to /comments 2020-10-10 19:01:44 +02:00
zrose584
6a7d0557e2 jinja: only include 'comments.js' if needed 2020-10-09 18:55:04 +02:00
zrose584
fd9bb643f8 replies: remove css border 2020-10-09 18:53:43 +02:00
zrose584
debc11931f add comments.js 2020-10-07 20:32:57 +02:00
zrose584
05cec14881 autofocus search input 2020-10-07 18:44:48 +02:00
James Taylor
9123d9a6cf Fix video height not scaling down when browser window is narrow
This solution still makes sure the video doesn't jump in height
when it loads, and makes it so the video scales down properly in
aspect ratio as the browser window is made narrower.
2020-10-01 13:38:57 -07:00
James Taylor
cf08f96de9 Add some space between transcript button and related videos 2020-09-25 09:48:29 -07:00
James Taylor
20152a6316 Specify video height in html so page doesn't shift down after load
Use true video height extracted from youtube to handle videos
shorter than their quality size. (e.g. widescreen videos)
2020-09-24 18:50:54 -07:00
James Taylor
9f0d84ddb9 Transcript: Add label for table view checkbox 2020-09-24 15:16:41 -07:00
James Taylor
97b092bf7a
Merge pull request #15 from zrose584/transcript_table
Transcript table
2020-09-24 12:14:20 -07:00
James Taylor
753f6c5389 Jump video to timestamp in description or comments 2020-09-18 17:32:28 -07:00
James Taylor
e9989af03a Add tor video routing
Includes non-tor video routing by default, so no more chances
of the browser leaking headers or user agent to googlevideo
Adjust settings upgrade system to facilitate change to route_tor
setting.
Add some more space on settings page for dropdown settings so does
not overflow due to options with long names.
Closes #7
2020-09-18 14:40:21 -07:00
zrose584
0830468bd1 style transcript div 2020-09-15 20:57:11 +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
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
c2ca47c5d3 Add setting to enable/disable video hotkeys 2020-09-09 18:53:11 -07:00
zrose584
12e56c7e71 add hotkeys.js 2020-09-09 21:01:16 +02:00
James Taylor
ac9b7f0162 Switch to desktop endpnt w/ new ctoken format except sort by old>1
Sorting by old for pages > 1 currently broken on some channels;
it's still using the mobile endpoint.
2020-08-12 14:46:29 -07:00
James Taylor
8e12551471 Switch to mobile api endpoint to fix 'Unknown error' blockage
See https://github.com/iv-org/invidious/issues/1319#issuecomment-671732646
2020-08-11 21:09:59 -07:00
James Taylor
e78d239323 Add support for &t parameter 2020-07-25 21:25:23 -07:00
James Taylor
a7ff3a5217 Playlist page: Fix error on failure to extract playlist title
Such as when the playlist was deleted or doesn't exist
2020-07-25 21:03:42 -07:00
James Taylor
9fc347e093 Add video transcript to downloads
Generated from the video captions
2020-07-25 19:40:37 -07:00
James Taylor
aa3e5aa441 Add dialog for copying urls to external player for livestreams
Also for livestreams which are over whose other sources
aren't present or aren't ready yet.
2020-06-28 17:52:24 -07:00
James Taylor
d7a4b03fdf Add option for reloading video without invidious
For faster usage of new identity button as an alternative
2020-05-27 11:55:47 -07:00
James Taylor
d5e661dfd3 Indicate that video is live 2020-05-27 11:14:19 -07:00
James Taylor
5554d5afff Add playlist sidebar for videos in playlist, including autoplay 2020-04-04 22:52:09 -07:00
James Taylor
00cf61d625 Change px values to rem values in font-size declarations 2020-02-22 22:14:11 -08:00
James Taylor
9f090dbbf8 Watch page: add info box with allowed countries and tor exit node
Should help with debugging various content blocks
2020-02-01 16:16:49 -08:00
James Taylor
c13a8f677d local playlists: Display error message if no videos are selected or no playlist is chosen when using "add to playlist"
See #4
2020-01-19 14:29:50 -08:00
James Taylor
f7a5f7fbaa items: commatize channel video count and playlist video count 2019-12-24 13:18:46 -08:00
James Taylor
a428d47bde Channel searching: indicate if there's no results 2019-12-23 15:09:44 -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
7a6bcb6128 Rewrite channel extraction with proper error handling and new extraction names. Extract subscriber_count correctly.
Don't just shove english strings into info['stats']. Actually give semantic names for the stats.
2019-12-21 15:45:01 -08:00
James Taylor
66746d0ca8 Watch: Add padding in description box and urlize links 2019-12-20 21:00:10 -08:00
James Taylor
4b6efb0e0b Watch: display comment count and whether comments are disabled 2019-12-20 20:52:01 -08:00
James Taylor
98fbdf77cb Add custom 500 error page. Display the traceback. Center and format error page in general.
Also add a link to github for reporting the exception.
2019-12-20 20:21:29 -08:00
James Taylor
310585ae9e Subscriptions: Display currently selected tag in page title 2019-12-20 18:58:39 -08:00
James Taylor
0bc2e43822 Watch: Add border around badges such as unlisted badge
Especially for the light theme
2019-12-20 18:54:24 -08:00
James Taylor
c3321d31d0 Subscriptions: Display selected tag above videos.
Otherwise, it wasn't clear enough that a tag was selected.
2019-12-20 12:44:42 -08:00
James Taylor
b4406df9cf Merge branch 'modular-data-extract'
Commits in this branch are prefixed with "Extraction:"
This branch refactors data extraction. All such functionality has been moved to the yt_data_extract module.
Responses from requests are given to the module and it parses them into a consistent, more useful format.
The dependency on youtube-dl has also been dropped and this functionality has been built from scratch for these reasons:
(1) I've noticed youtube-dl breaks more often than invidious (which uses watch page extraction built from scratch) in response to changes from Youtube, so I'm hoping what I wrote will also be less brittle.
(2) Such breakage is inconvenient because I have to manually merge the fixes since I had to make changes to youtube-dl to make it do things such as extracting related videos.
(3) I have no control over error handling and request pooling with youtube-dl, since it does all the requests (these would require intrusive changes I don't want to maintain).
(4) I will now be able to finally display the number of comments and whether comments are disabled without making additional requests.
2019-12-19 21:33:54 -08:00
James Taylor
02848a1a32 Extraction: Adjust related videos box to fit new time_published information well
time_published will be put to the right of the view_count in related videos
Author will now always be above the other stats, since it doesn't make a difference in the big search result boxes since the description snippet is always very short
(However, it's important the author isn't inline with the other stats in related video boxes since those are so narrow and the author name can be very long)
2019-12-19 15:46:16 -08:00
James Taylor
98777ee825 Extraction: Rewrite item_extraction for better error handling and readability, rename extracted names for more consistency 2019-12-18 19:39:16 -08:00
James Taylor
ee0a118a6c Extraction: Fix thumbnail and remove badges on related videos 2019-12-17 21:52:31 -08:00
James Taylor
45a4ab5ace Extraction: Detect limited state and fix false detection as unlisted 2019-12-17 20:58:15 -08:00
James Taylor
ecc1ce42b8 Extraction: Display that video is age-restricted 2019-12-12 22:13:37 -08:00
James Taylor
79d9a18f81 Extraction: return and display any errors preventing video playback 2019-11-22 14:56:53 -08:00
James Taylor
b614fcdb85 Fix regression: Can't remove videos from local playlists 2019-10-21 21:14:13 -07:00