Commit Graph

223 Commits

Author SHA1 Message Date
Jesús
61b4518335 Fix set language subtitles 2021-06-23 15:19:31 -05:00
Jesús
7f79269cf3 usage let not var 2021-06-23 14:43:10 -05:00
Umimaso
2d1794889a feat: autoplay for related videos
Add autoplay support for related videos. Move the playlist autoplay code
into this shared script. Add the SameSite=Strict attribute to the
autoplay cookie due to Firefox soon rejecting cookies which use
SameSite=None without the secure attribute.

Closes: #50

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-06-23 14:34:55 -05:00
Jesús
ff7aae05c4 Open direct link in new tab 2021-06-23 12:43:55 -05:00
Umimaso
5b4c99c702 feat: add direct link
Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-06-23 12:42:17 -05:00
Jesús
fc8a23099d Fix shared.css file style missing 2021-06-14 18:39:03 -05:00
Jesús
999173b1ba [error.html]: fix set style 2021-06-14 12:08:28 -05:00
Jesús
31901905e3 Fix name app 2021-06-10 16:48:22 -05:00
Jesús
7fd2c3474f Capitalize name app 2021-06-10 16:41:45 -05:00
Jesús
d35188178b update URL issues 2021-06-10 16:33:25 -05:00
Jesús
46f4ed1dc6 Fix design error message 2021-06-10 16:32:42 -05:00
James Taylor
a9edc54aac Use extract_approx_int for comment likes
Full digits no longer available

Closes #64

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-06-10 12:47:09 -05:00
Jesús
1b860c6917 Not force plyr as player 2021-05-24 21:17:59 -05:00
Jesús
ff8531cb84 [licenses]: fix URL license Expat 2021-05-22 17:55:24 -05:00
Jesús
b3abec81e1 Add plyr as main player
Also plyr supports switch quality
2021-05-22 17:05:39 -05:00
Jesús
7feea3f839 Add subscriptions export
plus design by heckyel
2021-05-06 15:18:19 -05:00
James Taylor
0ee1aabc74 Add local playlist export option
Temporary workaround for #61

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-05-06 14:24:00 -05:00
James Taylor
d88a69d811 Add tooltip to video speed box to improve discoverability
See #60

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-04-13 21:08:08 -05:00
James Taylor
e549b5f67c Channel: Allow going to next pages of playlists page
Uses previous and next buttons. Now can view more than just
first page of playlists page

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-03-15 22:22:15 -05:00
Jesús
65300003cd Fix data comments 00ef1c8627 2021-02-26 13:16:01 -05:00
James Taylor
00ef1c8627 Fix comment replies
Comment reply protobuf now requires the channel id of the uploader
of the video. Otherwise the endpoint returns 500.

Instead of making the protobuf ourselves and passing this data
around through query parameters, just use the ctoken provided to us
but modify the max_replies field from 10 to 250.

Fixes #53

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-02-26 11:39:23 -05:00
Jesús
f26c9be85e Fix URL 2021-02-25 14:27:46 -05:00
Jesús
875e1ef986 Change URL repo 2021-02-25 13:08:25 -05:00
Jesús
78abaf7aba General theme: fix support 'Content-Security-Policy' with librejs in UXP 2021-01-09 11:15:41 -05:00
Jesús
d899bc2df5 General theme: improve thumbnail-img 2021-01-07 23:06:25 -05:00
Jesús
3e817298bb General theme: fix HTML syntax 2021-01-01 14:52:24 -05:00
Jesús
5a6e247a7f General theme: fix style paginator 2021-01-01 14:48:42 -05:00
Jesús
1f4d7cc958 General theme: fix syntax W3C markup and add improve 'Published' date
Signed-off-by: Jesús <heckyel@hyperbola.info>
2020-12-30 16:52:26 -05:00
Jesús
0a9d24b261 General theme: Add license to missing script in watch.html 2020-12-29 21:33:56 -05:00
Jesús
0f78e73e80 General theme: add license and add URL source code in footer 2020-12-29 15:36:23 -05:00
Jesús
1de9ae4245 Patch-import-migrate: Add embed page for embeds on the web
Issue #36

From e51f0a78c778a2283887db7ffc22421a7c849296 Mon Sep 17 00:00:00 2001
From: James Taylor <user234683@users.noreply.github.com>
2020-12-19 22:13:37 -05:00
James Taylor
43679efff5 channel: replace page #s w/ next page button using provided ctoken
Since yt doesn't accept page #'s when sorting by oldest

Signed-off-by: Jesús <heckyel@hyperbola.info>
2020-12-18 23:25:45 -05:00
James Taylor
cf7aa41893 channel: include first and last pages when sorting by new
Last page as a substitute for sorting by oldest since sorting by
oldest doesn't allow arbitrary page numbers

Signed-off-by: Jesús <heckyel@hyperbola.info>
2020-12-18 23:00:33 -05:00
Jesús
e27650b457 Change URL support 2020-12-18 11:56:52 -05:00
Jesús
a7c1f2a34e Add get_app_version and version 2020-12-17 15:31:11 -05:00
Jesús
97f00efa8a Migration general theme: fix video player method in javascript 2020-12-15 22:34:45 -05:00
Jesús
d66c8661cb Fix missing lang 2020-12-15 20:58:01 -05:00
Jesús
e9215534d3 Migration general theme: fix missing message-box style 2020-12-15 11:24:13 -05:00
Jesús
7a765dc664 Change general design theme 2020-12-14 23:44:29 -05:00
James Taylor
1a7ed0a981 Add box to enter custom video speed 2020-11-30 17:10:11 -08:00
James Taylor
b126ce1aa6 Video comments: replace with error message if there is error
Such as 429 error, or an exception
2020-11-29 18:56:22 -08:00
James Taylor
2388b372ae error page: dont use newline wrapping on error-box
only should be used on error-message so newlines in error message
properly display. Should not be used on error-box because that
doesn't have bare text with newlines. Otherwise it was dispalying
extraneous newlines.
2020-10-28 18:41:17 -07:00
James Taylor
3a081a9c46 Automatically change tor circuit once if ip is blocked
Use stem library to send a new identity signal via the tor
control port.

See #20
2020-10-25 11:15:59 -07:00
James Taylor
9f1b69d22f Organize settings into categories 2020-10-22 15:00:06 -07:00
James Taylor
d3230e8daf Remove commenting system. Because:
- Actually using it will result in comments being shadowbanned,
  even those posted from Youtube's interfacs, because your account
  gets downranked since no analytics are present so it looks like a
  bot posting the comment.
- It's been broken for awhile
2020-10-21 19:58:31 -07:00
James Taylor
aa52c7a42e Merge branch 'master' into add_sponsorblock 2020-10-21 18:53:12 -07:00
zrose584
a27b575380 remove trailing whitespaces 2020-10-21 10:35:01 +02:00
zrose584
832524e421 fix html 2020-10-21 10:29:49 +02:00
James Taylor
c696db3e84 comments.js: include error in reply html rather than using an alert 2020-10-20 18:24:41 -07:00
James Taylor
95f2f027ea Comments.js: Add open in new tab button under replies as fallback
if xhr request fails
2020-10-20 17:48:18 -07:00